Skip to content

Commit e33dd11

Browse files
actions-usersamsonasik
authored andcommitted
[ci-review] Rector Rectify
1 parent 285596d commit e33dd11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,8 @@ private function processUnreachableStatementNode(
584584
$originalStmt = $unreachableStatementNode->getOriginalStatement();
585585
$originalStmt->setAttribute(AttributeKey::IS_UNREACHABLE, true);
586586

587-
foreach ($unreachableStatementNode->getNextStatements() as $nextStatement) {
588-
$nextStatement->setAttribute(AttributeKey::IS_UNREACHABLE, true);
587+
foreach ($unreachableStatementNode->getNextStatements() as $stmt) {
588+
$stmt->setAttribute(AttributeKey::IS_UNREACHABLE, true);
589589
}
590590

591591
$this->nodeScopeResolverProcessNodes(

0 commit comments

Comments
 (0)