Skip to content

Commit

Permalink
[Php70] Remove appendArgs() usage on CallUserMethodRector (#4731)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Aug 9, 2023
1 parent b93e285 commit 8ae33c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/Php70/Rector/FuncCall/CallUserMethodRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function refactor(Node $node): ?Node
unset($oldArgs[0]);
unset($oldArgs[1]);

$node->args = $this->appendArgs($newArgs, $oldArgs);
$node->args = array_merge($newArgs, $oldArgs);

return $node;
}
Expand Down

0 comments on commit 8ae33c5

Please sign in to comment.