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 24b8a0c commit 20e3f3bCopy full SHA for 20e3f3b
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