There was an error while loading. Please reload this page.
1 parent a430885 commit 074877aCopy full SHA for 074877a
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