mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-13 08:49:41 +00:00
Refactoring LoadScopes.php : removing useless variable
This commit is contained in:
@@ -63,10 +63,7 @@ class LoadScopes extends AbstractFixture implements OrderedFixtureInterface
|
|||||||
public static $references = array();
|
public static $references = array();
|
||||||
|
|
||||||
public function load(ObjectManager $manager)
|
public function load(ObjectManager $manager)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scopesReferences = array();
|
|
||||||
|
|
||||||
foreach ($this->scopes as $new) {
|
foreach ($this->scopes as $new) {
|
||||||
$scope = new \Chill\MainBundle\Entity\Scope();
|
$scope = new \Chill\MainBundle\Entity\Scope();
|
||||||
$scope->setName($new['names']);
|
$scope->setName($new['names']);
|
||||||
|
Reference in New Issue
Block a user