We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfcb75d commit c152c3bCopy full SHA for c152c3b
src/Analyser/MutatingScope.php
@@ -1145,7 +1145,7 @@ private function resolveType(Expr $node): Type
1145
return new ObjectType($node->class->toString());
1146
}
1147
if ($node->class instanceof Node\Stmt\Class_) {
1148
- $anonymousClassReflection = $this->broker->getAnonymousClassReflection($node->class, $this);
+ $anonymousClassReflection = $this->reflectionProvider->getAnonymousClassReflection($node->class, $this);
1149
1150
return new ObjectType($anonymousClassReflection->getName());
1151
0 commit comments