mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
[phpstan fix] Add void return type on all fixture load methods
This commit is contained in:
@@ -40,7 +40,7 @@ class LoadThirdParty extends Fixture implements DependentFixtureInterface
|
||||
];
|
||||
}
|
||||
|
||||
public function load(ObjectManager $manager)
|
||||
public function load(ObjectManager $manager): void
|
||||
{
|
||||
$thirdParties = $this->getThirdParties()->getObjects();
|
||||
|
||||
|
@@ -26,7 +26,7 @@ class LoadThirdPartyCategory extends Fixture implements FixtureGroupInterface
|
||||
return ['thirdparty_categories'];
|
||||
}
|
||||
|
||||
public function load(ObjectManager $manager)
|
||||
public function load(ObjectManager $manager): void
|
||||
{
|
||||
$categories = [
|
||||
['name' => ['fr' => 'maison médicale']],
|
||||
|
@@ -26,7 +26,7 @@ class LoadThirdPartyProfession extends Fixture implements FixtureGroupInterface
|
||||
return ['thirdparty_professions'];
|
||||
}
|
||||
|
||||
public function load(ObjectManager $manager)
|
||||
public function load(ObjectManager $manager): void
|
||||
{
|
||||
$professions = [
|
||||
['name' => ['fr' => 'Directeur']],
|
||||
|
Reference in New Issue
Block a user