From d54672face49f81d42435d00693734edabbeb3a5 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 8 Jan 2022 21:56:45 +0700 Subject: [PATCH] phpstan --- src/PhpParser/Node/BetterNodeFinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {