Skip to content

Commit

Permalink
#112 - fix: code review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilpiech97 committed Jul 23, 2024
1 parent 68ebf9c commit 05eda14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Fixers/ClassKeywordFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Blumilk\Codestyle\Fixers;

use PhpCsFixer\Fixer\FixerInterface;
use PhpCsFixer\Fixer\Import\FullyQualifiedStrictTypesFixer;
use PhpCsFixer\FixerDefinition\CodeSample;
use PhpCsFixer\FixerDefinition\FixerDefinition;
use PhpCsFixer\FixerDefinition\FixerDefinitionInterface;
Expand Down Expand Up @@ -73,7 +74,9 @@ public function getName(): string

public function getPriority(): int
{
return 33;
$fixer = new FullyQualifiedStrictTypesFixer();

return $fixer->getPriority() + 1;
}

public function supports(SplFileInfo $file): bool
Expand Down

0 comments on commit 05eda14

Please sign in to comment.