Permalink
Browse files

[DependencyInjection] fixed wrong local variable name in RemoveUnused…

…DefinitionsPass::process() method.
  • Loading branch information...
1 parent 7fb949e commit 7bb33784d8ba627025da705a422ac7e67033a8b3 Hugo Hamon committed Jan 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Compiler/RemoveUnusedDefinitionsPass.php
@@ -56,7 +56,7 @@ public function process(ContainerBuilder $container)
$sourceIds[] = $node->getId();
if ($node->isAlias()) {
- $referencingAlias[] = $node->getValue();
+ $referencingAliases[] = $node->getValue();
}
}
$isReferenced = (count(array_unique($sourceIds)) - count($referencingAliases)) > 0;

0 comments on commit 7bb3378

Please sign in to comment.