mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix deprecated ObjectManager path in data fixtures scripts
This commit is contained in:
parent
96dbd06b75
commit
f05770235f
@ -22,6 +22,7 @@ namespace Chill\CustomFieldsBundle\DataFixtures\ORM;
|
||||
use Doctrine\Common\DataFixtures\AbstractFixture;
|
||||
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
||||
use Chill\CustomFieldsBundle\Entity\CustomFieldLongChoice\Option;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
|
||||
error_reporting(0);
|
||||
/**
|
||||
@ -62,7 +63,7 @@ class LoadOption extends AbstractFixture implements OrderedFixtureInterface
|
||||
return 1000;
|
||||
}
|
||||
|
||||
public function load(\Doctrine\Common\Persistence\ObjectManager $manager)
|
||||
public function load(ObjectManager $manager)
|
||||
{
|
||||
echo "Loading Options \n";
|
||||
// load companies
|
||||
|
Loading…
x
Reference in New Issue
Block a user