From 9fef92bda6654c237e88ec9346020b0bd0a33085 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Sat, 15 Nov 2025 21:25:47 +0100 Subject: [PATCH] Is this going to fix a bug? --- src/Analyser/NodeScopeResolver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Analyser/NodeScopeResolver.php b/src/Analyser/NodeScopeResolver.php index c1a7a99f70..acac7b07d9 100644 --- a/src/Analyser/NodeScopeResolver.php +++ b/src/Analyser/NodeScopeResolver.php @@ -1015,7 +1015,7 @@ private function processStmtNode( $nodeCallback(new ClassMethodsNode($stmt, $classStatementsGatherer->getMethods(), $classStatementsGatherer->getMethodCalls(), $classReflection), $classScope); $nodeCallback(new ClassConstantsNode($stmt, $classStatementsGatherer->getConstants(), $classStatementsGatherer->getConstantFetches(), $classReflection), $classScope); $classReflection->evictPrivateSymbols(); - $this->calledMethodResults = []; + //$this->calledMethodResults = []; } elseif ($stmt instanceof Node\Stmt\Property) { $hasYield = false; $throwPoints = [];