X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FAutoAliasServicePass.php;fp=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FAutoAliasServicePass.php;h=03420683a205a649e4e60b97b05a3c3e82d9f52d;hp=c1f05e03ec02c9dd602a89c22b4d7157d2973843;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php index c1f05e03e..03420683a 100644 --- a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php +++ b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php @@ -33,7 +33,7 @@ class AutoAliasServicePass implements CompilerPassInterface $aliasId = $container->getParameterBag()->resolveValue($tag['format']); if ($container->hasDefinition($aliasId) || $container->hasAlias($aliasId)) { - $container->setAlias($serviceId, new Alias($aliasId)); + $container->setAlias($serviceId, new Alias($aliasId, true)); } } }