diff --git a/rules/Php80/AttributeDecorator/DoctrineCoverterterAttributeDecorator.php b/rules/Php80/AttributeDecorator/DoctrineConverterAttributeDecorator.php similarity index 92% rename from rules/Php80/AttributeDecorator/DoctrineCoverterterAttributeDecorator.php rename to rules/Php80/AttributeDecorator/DoctrineConverterAttributeDecorator.php index 9d41c6fc6ad..65a22ed5ee8 100644 --- a/rules/Php80/AttributeDecorator/DoctrineCoverterterAttributeDecorator.php +++ b/rules/Php80/AttributeDecorator/DoctrineConverterAttributeDecorator.php @@ -11,7 +11,7 @@ use PhpParser\Node\Scalar\String_; use Rector\Php80\Contract\ConverterAttributeDecoratorInterface; -final class DoctrineCoverterterAttributeDecorator implements ConverterAttributeDecoratorInterface +final class DoctrineConverterAttributeDecorator implements ConverterAttributeDecoratorInterface { public function getAttributeName(): string { diff --git a/src/DependencyInjection/LazyContainerFactory.php b/src/DependencyInjection/LazyContainerFactory.php index 3c2901ae4c1..c9edffe6f4e 100644 --- a/src/DependencyInjection/LazyContainerFactory.php +++ b/src/DependencyInjection/LazyContainerFactory.php @@ -102,7 +102,7 @@ use Rector\NodeTypeResolver\PHPStan\Scope\NodeVisitor\StmtKeyNodeVisitor; use Rector\NodeTypeResolver\PHPStan\Scope\PHPStanNodeScopeResolver; use Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider; -use Rector\Php80\AttributeDecorator\DoctrineCoverterterAttributeDecorator; +use Rector\Php80\AttributeDecorator\DoctrineConverterAttributeDecorator; use Rector\Php80\AttributeDecorator\SensioParamConverterAttributeDecorator; use Rector\Php80\Contract\ConverterAttributeDecoratorInterface; use Rector\Php80\NodeManipulator\AttributeGroupNamedArgumentManipulator; @@ -376,7 +376,7 @@ final class LazyContainerFactory */ private const CONVERTER_ATTRIBUTE_DECORATOR_CLASSES = [ SensioParamConverterAttributeDecorator::class, - DoctrineCoverterterAttributeDecorator::class, + DoctrineConverterAttributeDecorator::class, ]; /**