Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 24, 2024
1 parent 8ac12fd commit 528c506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function getNodeTypes(): array
*/
public function refactor(Node $node): ?Node
{
if ($node->left instanceof Assign) {
if ($node->left instanceof Assign || $node->right instanceof Assign) {
return null;
}

Expand Down

0 comments on commit 528c506

Please sign in to comment.