mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Refactoring LoadScopes.php : removing useless variable
This commit is contained in:
parent
135691f0fc
commit
0f9f0d52e1
@ -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']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user