Skip to content

Commit

Permalink
Rename $node to $arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Nikolaou committed Nov 18, 2024
1 parent b0ce4fc commit c548419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeCleaner/PassableByReferencePass.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function enterNode(Node $node)

$args = [];
foreach ($node->args as $position => $arg) {
if ($node instanceof VariadicPlaceholder) {
if ($arg instanceof VariadicPlaceholder) {
continue;
}

Expand Down

0 comments on commit c548419

Please sign in to comment.