From f9a4af80faf29f2be2f0b43555cef42eb9717cdc Mon Sep 17 00:00:00 2001 From: Dariusz Ruminski Date: Mon, 18 Nov 2024 02:50:47 +0100 Subject: [PATCH] fix: proper base class used for AbstractDoctrineAnnotationFixer templates generation --- src/Fixer/Internal/ConfigurableFixerTemplateFixer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.');