Skip to content

Commit

Permalink
Make psalm happy
Browse files Browse the repository at this point in the history
  • Loading branch information
wgevaert authored and sebastianbergmann committed Oct 7, 2019
1 parent bf1782d commit de4c447
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Util/Annotation/DocBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ public static function ofClass(\ReflectionClass $class): self
);
}

/**
* @psalm-param class-string $className
*/
public static function ofMethod(\ReflectionMethod $method, string $className = null): self
{
return new self(
Expand Down

0 comments on commit de4c447

Please sign in to comment.