Skip to content

Commit

Permalink
use isName(node)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 4, 2020
1 parent 9e07386 commit a7607ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function refactor(Node $node): ?Node
return null;
}

if (! $this->isName($node->name, 'class')) {
if (! $this->isName($node, 'class')) {
return null;
}

Expand Down

0 comments on commit a7607ef

Please sign in to comment.