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.
ClassConstFetch::$class
1 parent 3cdac94 commit 712c33eCopy full SHA for 712c33e
src/Analyser/NodeScopeResolver.php
@@ -3168,6 +3168,11 @@ static function (): void {
3168
$hasYield = $result->hasYield();
3169
$throwPoints = $result->getThrowPoints();
3170
$impurePoints = $result->getImpurePoints();
3171
+ } else {
3172
+ $hasYield = false;
3173
+ $throwPoints = [];
3174
+ $impurePoints = [];
3175
+ $nodeCallback($expr->class, $scope);
3176
}
3177
} elseif ($expr instanceof Expr\Empty_) {
3178
$nonNullabilityResult = $this->ensureNonNullability($scope, $expr->expr);
0 commit comments