Skip to content

Commit 0e710ab

Browse files
committed
Fix storing results of first class callable expressions
1 parent 8c9e9a7 commit 0e710ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/NodeScopeResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2571,7 +2571,7 @@ public function processExprNode(
25712571
}
25722572

25732573
$newExprResult = $this->processExprNode($stmt, $newExpr, $scope, $storage, $nodeCallback, $context);
2574-
$storage->storeResult($expr, $newExprResult);
2574+
$this->storeResult($storage, $expr, $newExprResult);
25752575
return $newExprResult;
25762576
}
25772577

0 commit comments

Comments
 (0)