[DependencyInjection] fixed wrong local variable name in RemoveUnusedDefinitionsPass::process() method.
This commit is contained in:
parent
a7f857da87
commit
7088d942ce
@ -56,7 +56,7 @@ class RemoveUnusedDefinitionsPass implements RepeatablePassInterface
|
||||
$sourceIds[] = $node->getId();
|
||||
|
||||
if ($node->isAlias()) {
|
||||
$referencingAlias[] = $node->getValue();
|
||||
$referencingAliases[] = $node->getValue();
|
||||
}
|
||||
}
|
||||
$isReferenced = (count(array_unique($sourceIds)) - count($referencingAliases)) > 0;
|
||||
|
Reference in New Issue
Block a user