Skip to content

Commit 4fefc22

Browse files
committed
Do not run node callback for Name
1 parent f6e89bd commit 4fefc22

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Analyser/Generator/GeneratorNodeScopeResolver.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,6 @@ private function analyzeExpr(NodeScopeResolverRunStorage $storage, Expr $expr, G
243243
}
244244

245245
if ($expr instanceof Expr\New_ && $expr->class instanceof Node\Name) {
246-
yield new NodeCallbackRequest($expr->class, $scope);
247-
248246
$result = new ExprAnalysisResult(new ObjectType($expr->class->toString()), $scope);
249247
$this->storeExprAnalysisResult($storage, $expr, $result);
250248
return $result;

0 commit comments

Comments
 (0)