Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 8, 2022
1 parent efcd01a commit 6f7b8a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PhpParser/Node/BetterNodeFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ public function findFirstNonAnonymousClass(array $nodes): ?Node
}

/**
* @param Node|Node[] $nodes
* @param callable(Node $filter): bool $filter
*/
public function findFirst(Node | array $nodes, callable $filter): ?Node
Expand Down

0 comments on commit 6f7b8a2

Please sign in to comment.