Skip to content

Commit

Permalink
Fix typo (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Sep 9, 2023
1 parent 86fa7ee commit 7b173b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rector/Class_/PreferPHPUnitSelfCallRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function refactor(Node $node): ?Node
return null;
}

if (! $this->nodeNameResolver->matchesStringName($node->name, 'assert*')) {
if (! $this->nodeNameResolver->matchesStringName($methodName, 'assert*')) {
return null;
}

Expand Down

0 comments on commit 7b173b9

Please sign in to comment.