Skip to content

Commit 64e807b

Browse files
committed
fix reference to existing class
1 parent 309cada commit 64e807b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/Symfony60/Rector/FuncCall/ReplaceServiceArgumentRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
use Rector\Contract\Rector\ConfigurableRectorInterface;
1212
use Rector\PhpParser\Node\Value\ValueResolver;
1313
use Rector\Rector\AbstractRector;
14+
use Rector\Symfony\Enum\SymfonyFunction;
1415
use Rector\Symfony\ValueObject\ReplaceServiceArgument;
15-
use Symplify\PHPStanRules\Enum\SymfonyFunctionName;
1616
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
1717
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1818
use Webmozart\Assert\Assert;
@@ -69,7 +69,7 @@ public function getNodeTypes(): array
6969
*/
7070
public function refactor(Node $node): ?FuncCall
7171
{
72-
if (! $this->isName($node->name, SymfonyFunctionName::SERVICE)) {
72+
if (! $this->isName($node->name, SymfonyFunction::SERVICE)) {
7373
return null;
7474
}
7575

0 commit comments

Comments
 (0)