Skip to content

Commit

Permalink
Proper getName() resolution for fixers extending `AbstractSymplifyF…
Browse files Browse the repository at this point in the history
…ixer` (#27)
  • Loading branch information
Wirone committed Jun 20, 2023
1 parent 119f507 commit 7e50b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fixer/AbstractSymplifyFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function getPriority(): int

public function getName(): string
{
return self::class;
return static::class;
}

public function isRisky(): bool
Expand Down

0 comments on commit 7e50b0b

Please sign in to comment.