Skip to content

Commit d4c5dcb

Browse files
dantleechondrejmirtes
authored andcommitted
Rename variable
1 parent c2bab86 commit d4c5dcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Analyser/NodeScopeResolver.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -924,9 +924,9 @@ private function processStmtNode(
924924
$finalScope = $scope;
925925
}
926926
if (!$alwaysTerminating) {
927-
$stmtResult = $this->processExprNode($stmt->cond, $bodyScope, $nodeCallback, ExpressionContext::createDeep());
928-
$hasYield = $stmtResult->hasYield();
929-
$finalScope = $stmtResult->getFalseyScope();
927+
$condResult = $this->processExprNode($stmt->cond, $bodyScope, $nodeCallback, ExpressionContext::createDeep());
928+
$hasYield = $condResult->hasYield();
929+
$finalScope = $condResult->getFalseyScope();
930930
}
931931
foreach ($bodyScopeResult->getExitPointsByType(Break_::class) as $breakExitPoint) {
932932
$finalScope = $breakExitPoint->getScope()->mergeWith($finalScope);

0 commit comments

Comments
 (0)