mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-12-21 09:35:42 +00:00
Add second parameter to add-, get-, hasReference() methods in fixture classes
This commit is contained in:
@@ -365,7 +365,7 @@ class LoadPostalCodes extends AbstractFixture implements OrderedFixtureInterface
|
||||
$manager->persist($c);
|
||||
$ref = 'postal_code_'.$code[0];
|
||||
|
||||
if (!$this->hasReference($ref)) {
|
||||
if (!$this->hasReference($ref, null)) {
|
||||
$this->addReference($ref, $c);
|
||||
self::$refs[] = $ref;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user