mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 03:58:45 +02:00
N°8910 - Upgrade Symfony packages
This commit is contained in:
@@ -36,7 +36,11 @@ class ResolveReferencesToAliasesPass extends AbstractRecursivePass
|
||||
$this->currentId = $id;
|
||||
|
||||
if ($aliasId !== $defId = $this->getDefinitionId($aliasId, $container)) {
|
||||
$container->setAlias($id, $defId)->setPublic($alias->isPublic());
|
||||
$newAlias = $container->setAlias($id, $defId)->setPublic($alias->isPublic());
|
||||
|
||||
if ($alias->isDeprecated()) {
|
||||
$newAlias->setDeprecated(...array_values($alias->getDeprecation('%alias_id%')));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user