Add int return type to getOrder() method in fixture classes

This commit is contained in:
2024-11-28 12:20:17 +01:00
parent 8a16030b49
commit fa767110e8
44 changed files with 47 additions and 47 deletions

View File

@@ -32,12 +32,12 @@ class LoadActivity extends AbstractFixture implements OrderedFixtureInterface
$this->faker = FakerFactory::create('fr_FR');
}
public function getOrder()
public function getOrder(): int
{
return 16400;
}
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$persons = $this->em
->getRepository(Person::class)