Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and samsonasik committed Nov 17, 2024
1 parent ebc06ca commit f381808
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function refactor(Node $node): ?Node
return null;
}

foreach ($nestedIfsWithOnlyNonReturn as $nestedIf) {
$nestedIf->cond->setAttribute(AttributeKey::ORIGINAL_NODE, null);
foreach ($nestedIfsWithOnlyNonReturn as $nestedIfWithOnlyNonReturn) {
$nestedIfWithOnlyNonReturn->cond->setAttribute(AttributeKey::ORIGINAL_NODE, null);
}

return $this->processNestedIfsWithNonBreaking($node, $nestedIfsWithOnlyNonReturn);
Expand Down

0 comments on commit f381808

Please sign in to comment.