mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
[phpstan fix] Add void return type on all fixture load methods
This commit is contained in:
@@ -30,7 +30,7 @@ class LoadEventTypes extends AbstractFixture implements OrderedFixtureInterface
|
||||
return 30000;
|
||||
}
|
||||
|
||||
public function load(ObjectManager $manager)
|
||||
public function load(ObjectManager $manager): void
|
||||
{
|
||||
/*
|
||||
* Echange de savoirs
|
||||
|
@@ -63,7 +63,7 @@ class LoadParticipation extends AbstractFixture implements OrderedFixtureInterfa
|
||||
return 30010;
|
||||
}
|
||||
|
||||
public function load(ObjectManager $manager)
|
||||
public function load(ObjectManager $manager): void
|
||||
{
|
||||
$centers = $manager->getRepository(Center::class)
|
||||
->findAll();
|
||||
|
@@ -28,7 +28,7 @@ class LoadRolesACL extends AbstractFixture implements OrderedFixtureInterface
|
||||
return 30011;
|
||||
}
|
||||
|
||||
public function load(ObjectManager $manager)
|
||||
public function load(ObjectManager $manager): void
|
||||
{
|
||||
foreach (LoadPermissionsGroup::$refs as $permissionsGroupRef) {
|
||||
$permissionsGroup = $this->getReference($permissionsGroupRef);
|
||||
|
Reference in New Issue
Block a user