From 6f7b8a2788452c6fefd97b30dea08e843782e9bb Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 8 Jan 2022 21:53:01 +0700 Subject: [PATCH] phpstan --- src/PhpParser/Node/BetterNodeFinder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PhpParser/Node/BetterNodeFinder.php b/src/PhpParser/Node/BetterNodeFinder.php index 9d741b6feac..613a4205441 100644 --- a/src/PhpParser/Node/BetterNodeFinder.php +++ b/src/PhpParser/Node/BetterNodeFinder.php @@ -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