Skip to content

Commit

Permalink
Fix excessive memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Apr 17, 2021
1 parent fb62e5e commit 7c0146c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Analyser/NodeScopeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,6 @@ private function processStmtNode(
$finalScope = $branchScopeStatementResult->isAlwaysTerminating() ? $finalScope : $branchScope->mergeWith($finalScope);
$alwaysTerminating = $alwaysTerminating && $branchScopeStatementResult->isAlwaysTerminating();
$hasYield = $hasYield || $branchScopeStatementResult->hasYield();
$throwPoints = array_merge($throwPoints, $branchScopeStatementResult->getThrowPoints());
}
}

Expand Down

0 comments on commit 7c0146c

Please sign in to comment.