[DependencyInjection] fixed strict flag propagation to aliases
This commit is contained in:
parent
959438ee81
commit
4909987e23
@ -51,7 +51,7 @@ class ResolveReferencesToAliasesPass implements CompilerPassInterface
|
||||
$defId = $this->getDefinitionId($id = (string) $argument);
|
||||
|
||||
if ($defId !== $id) {
|
||||
$arguments[$k] = new Reference($defId, $argument->getInvalidBehavior());
|
||||
$arguments[$k] = new Reference($defId, $argument->getInvalidBehavior(), $argument->isStrict());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user