Skip to content

Commit

Permalink
[Php80] Fix typo class name: DoctrineCoverterterAttributeDecorator ->…
Browse files Browse the repository at this point in the history
… DoctrineConverterAttributeDecorator (rectorphp#5689)

* [Php80] Fix typo class name: DoctrineCoverterterAttributeDecorator -> DoctrineConverterAttributeDecorator

* fix
  • Loading branch information
samsonasik authored and Arjen Schol committed Mar 6, 2024
1 parent 0274616 commit 3ebaa06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/DependencyInjection/LazyContainerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -376,7 +376,7 @@ final class LazyContainerFactory
*/
private const CONVERTER_ATTRIBUTE_DECORATOR_CLASSES = [
SensioParamConverterAttributeDecorator::class,
DoctrineCoverterterAttributeDecorator::class,
DoctrineConverterAttributeDecorator::class,
];

/**
Expand Down

0 comments on commit 3ebaa06

Please sign in to comment.