diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index c2061983980..0893f336a22 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '297853b887236d6770547058d0727a228385f87d'; + public const PACKAGE_VERSION = '324bf249b01745819521490f3066f3a51a8f6249'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-06-11 16:32:25'; + public const RELEASE_DATE = '2024-06-11 16:37:24'; /** * @var int */ diff --git a/src/PhpParser/NodeFinder/LocalMethodCallFinder.php b/src/PhpParser/NodeFinder/LocalMethodCallFinder.php index b4699a058b9..3cc8229e8cf 100644 --- a/src/PhpParser/NodeFinder/LocalMethodCallFinder.php +++ b/src/PhpParser/NodeFinder/LocalMethodCallFinder.php @@ -36,7 +36,7 @@ final class LocalMethodCallFinder $this->nodeNameResolver = $nodeNameResolver; } /** - * @return MethodCall[] + * @return MethodCall[]|StaticCall[] */ public function match(Class_ $class, ClassMethod $classMethod) : array { @@ -45,7 +45,7 @@ final class LocalMethodCallFinder return []; } $classMethodName = $this->nodeNameResolver->getName($classMethod); - /** @var MethodCall[] $matchingMethodCalls */ + /** @var MethodCall[]|StaticCall[] $matchingMethodCalls */ $matchingMethodCalls = $this->betterNodeFinder->find($class->getMethods(), function (Node $subNode) use($className, $classMethodName) : bool { if (!$subNode instanceof MethodCall && !$subNode instanceof StaticCall) { return \false;