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 87956c5 commit 2e56803Copy full SHA for 2e56803
src/Analyser/NodeScopeResolver.php
@@ -2933,6 +2933,7 @@ static function (): void {
2933
$exprResult->getImpurePoints(),
2934
static fn (): MutatingScope => $scope->filterByTruthyValue($expr),
2935
static fn (): MutatingScope => $scope->filterByFalseyValue($expr),
2936
+ $exprResult->isAlwaysTerminating()
2937
);
2938
} elseif ($expr instanceof StaticCall) {
2939
$hasYield = false;
0 commit comments