diff --git a/src/Fixer/Internal/ConfigurableFixerTemplateFixer.php b/src/Fixer/Internal/ConfigurableFixerTemplateFixer.php index 2404ec88447..ba775314713 100644 --- a/src/Fixer/Internal/ConfigurableFixerTemplateFixer.php +++ b/src/Fixer/Internal/ConfigurableFixerTemplateFixer.php @@ -525,7 +525,7 @@ public function isCandidate(Tokens $tokens): bool } }; } elseif (AbstractDoctrineAnnotationFixer::class === $className) { - return new class extends AbstractPhpdocToTypeDeclarationFixer { + return new class extends AbstractDoctrineAnnotationFixer { protected function isSkippedType(string $type): bool { throw new \LogicException('Not implemented.');