We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc55cd3 commit 242f09aCopy full SHA for 242f09a
src/Analyser/MutatingScope.php
@@ -918,7 +918,7 @@ public function getScopeNativeType(Expr $expr): Type
918
private function getNodeKey(Expr $node): string
919
{
920
// perf optimize for the most common path
921
- if ($node instanceof Variable) {
+ if ($node instanceof Variable && !$node->name instanceof Expr) {
922
return '$' . $node->name;
923
}
924
0 commit comments