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 2478a3f commit 260215aCopy full SHA for 260215a
src/Analyser/NodeScopeResolver.php
@@ -2930,6 +2930,7 @@ static function (): void {
2930
$exprResult->getImpurePoints(),
2931
static fn (): MutatingScope => $scope->filterByTruthyValue($expr),
2932
static fn (): MutatingScope => $scope->filterByFalseyValue($expr),
2933
+ $exprResult->isAlwaysTerminating()
2934
);
2935
} elseif ($expr instanceof StaticCall) {
2936
$hasYield = false;
0 commit comments