Skip to content

Commit e9ce268

Browse files
committed
CS fixes
1 parent f04c0b5 commit e9ce268

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class RemoveAbstractDefinitionsPass implements CompilerPassInterface
2525
*/
2626
public function process(ContainerBuilder $container)
2727
{
28-
$compiler = $container->getCompiler();
29-
3028
foreach ($container->getDefinitions() as $id => $definition) {
3129
if ($definition->isAbstract()) {
3230
$container->removeDefinition($id);

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class RemovePrivateAliasesPass implements CompilerPassInterface
2929
*/
3030
public function process(ContainerBuilder $container)
3131
{
32-
$compiler = $container->getCompiler();
33-
3432
foreach ($container->getAliases() as $id => $alias) {
3533
if ($alias->isPublic()) {
3634
continue;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public function setRepeatedPass(RepeatedPass $repeatedPass)
3737
*/
3838
public function process(ContainerBuilder $container)
3939
{
40-
$compiler = $container->getCompiler();
41-
$graph = $compiler->getServiceReferenceGraph();
40+
$graph = $container->getCompiler()->getServiceReferenceGraph();
4241

4342
$hasChanged = false;
4443
foreach ($container->getDefinitions() as $id => $definition) {

src/Symfony/Component/HttpKernel/DependencyInjection/RegisterControllerArgumentLocatorsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
use Symfony\Component\DependencyInjection\TypedReference;
2525

2626
/**
27-
* Creates the service-locators required by ServiceArgumentValueResolver.
27+
* Creates the service-locators required by ServiceValueResolver.
2828
*
2929
* @author Nicolas Grekas <[email protected]>
3030
*/

src/Symfony/Component/HttpKernel/DependencyInjection/RemoveEmptyControllerArgumentLocatorsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\DependencyInjection\ContainerBuilder;
1616

1717
/**
18-
* Removes empty service-locators registered for ServiceArgumentValueResolver.
18+
* Removes empty service-locators registered for ServiceValueResolver.
1919
*
2020
* @author Nicolas Grekas <[email protected]>
2121
*/

0 commit comments

Comments
 (0)