diff --git a/src/PhpParser/Node/BetterNodeFinder.php b/src/PhpParser/Node/BetterNodeFinder.php index 613a4205441..c0e75a87328 100644 --- a/src/PhpParser/Node/BetterNodeFinder.php +++ b/src/PhpParser/Node/BetterNodeFinder.php @@ -225,7 +225,7 @@ public function findFirstNonAnonymousClass(array $nodes): ?Node /** * @param Node|Node[] $nodes - * @param callable(Node $filter): bool $filter + * @param callable(Node $node): bool $filter */ public function findFirst(Node | array $nodes, callable $filter): ?Node {