From 724031822a355c926458fda8574990b4d55e0bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Par=C3=A1da=20J=C3=B3zsef?= Date: Fri, 15 Jan 2016 23:47:08 +0100 Subject: [PATCH] [3.0] Remove useless array declaration --- .../DependencyInjection/Compiler/CheckReferenceValidityPass.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Symfony/Component/DependencyInjection/Compiler/CheckReferenceValidityPass.php b/src/Symfony/Component/DependencyInjection/Compiler/CheckReferenceValidityPass.php index df0f55a830..80b81d695d 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/CheckReferenceValidityPass.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/CheckReferenceValidityPass.php @@ -38,8 +38,6 @@ class CheckReferenceValidityPass implements CompilerPassInterface { $this->container = $container; - $ancestors = array(); - foreach ($container->getDefinitions() as $id => $definition) { if ($definition->isSynthetic() || $definition->isAbstract()) { continue;