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 committed Jan 6, 2024
1 parent 1dccfaf commit 10ec4ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function refactor(Node $node): ?Node

$return = $this->processForeachNodeWithReturnInside($foreach, $foreachReturnOrAssign, $nextStmt);

if ($return === null) {
if (!$return instanceof Return_) {
continue;
}

Expand Down

0 comments on commit 10ec4ef

Please sign in to comment.