Skip to content

Commit b5f4146

Browse files
committed
CS
1 parent 0e2916a commit b5f4146

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Component\Config\Resource\ClassExistenceResource;
1515
use Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument;
1616
use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
17-
use Symfony\Component\DependencyInjection\Attribute\AsDecorator;
1817
use Symfony\Component\DependencyInjection\Attribute\Autowire;
1918
use Symfony\Component\DependencyInjection\Attribute\Inner;
2019
use Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
@@ -275,7 +274,7 @@ private function autowireMethod(\ReflectionFunctionAbstract $reflectionMethod, a
275274
}
276275

277276
if (Inner::class === $attribute->getName()) {
278-
$arguments[$index] = new Reference( $this->currentId.'.inner', ContainerInterface::NULL_ON_INVALID_REFERENCE);
277+
$arguments[$index] = new Reference($this->currentId.'.inner', ContainerInterface::NULL_ON_INVALID_REFERENCE);
279278

280279
break;
281280
}

src/Symfony/Component/DependencyInjection/Tests/Compiler/AutowirePassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
use Psr\Log\LoggerInterface;
1616
use Psr\Log\NullLogger;
1717
use Symfony\Component\Config\FileLocator;
18+
use Symfony\Component\DependencyInjection\Compiler\AutowireAsDecoratorPass;
1819
use Symfony\Component\DependencyInjection\Compiler\AutowirePass;
1920
use Symfony\Component\DependencyInjection\Compiler\AutowireRequiredMethodsPass;
2021
use Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass;
21-
use Symfony\Component\DependencyInjection\Compiler\AutowireAsDecoratorPass;
2222
use Symfony\Component\DependencyInjection\Compiler\ResolveClassPass;
2323
use Symfony\Component\DependencyInjection\ContainerBuilder;
2424
use Symfony\Component\DependencyInjection\ContainerInterface;

0 commit comments

Comments
 (0)