mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 12:03:48 +00:00
fix deprecated ObjectManager path in data fixtures scripts
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user