From 0f9f0d52e1fc566f703dfd2561e1ae098709ca88 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Mon, 6 Jul 2015 09:50:44 +0200 Subject: [PATCH] Refactoring LoadScopes.php : removing useless variable --- DataFixtures/ORM/LoadScopes.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DataFixtures/ORM/LoadScopes.php b/DataFixtures/ORM/LoadScopes.php index d3a7f16fd..f43fb0919 100644 --- a/DataFixtures/ORM/LoadScopes.php +++ b/DataFixtures/ORM/LoadScopes.php @@ -63,10 +63,7 @@ class LoadScopes extends AbstractFixture implements OrderedFixtureInterface public static $references = array(); public function load(ObjectManager $manager) - { - - $scopesReferences = array(); - + { foreach ($this->scopes as $new) { $scope = new \Chill\MainBundle\Entity\Scope(); $scope->setName($new['names']);