8000 fix · rectorphp/rector-src@7a42ac4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a42ac4

Browse files
committed
fix
1 parent 051abc6 commit 7a42ac4

File tree

1 file changed

+3
-3
lines changed
  • rules-tests/Naming/Rector/ClassMethod/RenameParamToMatchTypeRector/Fixture

1 file changed

+3
-3
lines changed

rules-tests/Naming/Rector/ClassMethod/RenameParamToMatchTypeRector/Fixture/skip_used.php.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ namespace Rector\Tests\Naming\Rector\ClassMethod\RenameParamToMatchTypeRector\Fi
44

55
final class SkipUsed
66
{
7-
public function run(Node $and)
7+
public function run(Node $nd)
88
{
9-
$this->betterNodeFinder->find($and->stmts, function (Node $node) use ($and) {
10-
return $and !== $node;
9+
$this->betterNodeFinder->find($nd->stmts, function (Node $node) use ($nd) {
10+
return $nd !== $node;
1111
});
1212
}
1313
}

0 commit comments

Comments
 (0)
0