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