Refactoring LoadScopes.php : removing useless variable

This commit is contained in:
Marc Ducobu 2015-07-06 09:50:44 +02:00
parent 135691f0fc
commit 0f9f0d52e1

View File

@ -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']);