mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
[phpstan fix] Add array return type on all dependency fixture getDependencies methods
This commit is contained in:
parent
d68de96004
commit
11ba2cf889
@ -38,7 +38,7 @@ class LoadActivityNotifications extends AbstractFixture implements DependentFixt
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
public function getDependencies()
|
public function getDependencies(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
LoadActivity::class,
|
LoadActivity::class,
|
||||||
|
@ -38,7 +38,7 @@ class LoadAccompanyingPeriodNotifications extends AbstractFixture implements Dep
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
public function getDependencies()
|
public function getDependencies(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
LoadPeople::class,
|
LoadPeople::class,
|
||||||
|
@ -28,7 +28,7 @@ class LoadAccompanyingPeriodWork extends \Doctrine\Bundle\FixturesBundle\Fixture
|
|||||||
|
|
||||||
public function __construct(private readonly AccompanyingPeriodRepository $periodRepository, private readonly EvaluationRepository $evaluationRepository) {}
|
public function __construct(private readonly AccompanyingPeriodRepository $periodRepository, private readonly EvaluationRepository $evaluationRepository) {}
|
||||||
|
|
||||||
public function getDependencies()
|
public function getDependencies(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
LoadPeople::class,
|
LoadPeople::class,
|
||||||
|
@ -38,7 +38,7 @@ class LoadHousehold extends Fixture implements DependentFixtureInterface
|
|||||||
$this->loader = new NativeLoader();
|
$this->loader = new NativeLoader();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDependencies()
|
public function getDependencies(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
LoadPeople::class,
|
LoadPeople::class,
|
||||||
|
@ -32,7 +32,7 @@ class LoadThirdParty extends Fixture implements DependentFixtureInterface
|
|||||||
$this->phoneNumberUtil = PhoneNumberUtil::getInstance();
|
$this->phoneNumberUtil = PhoneNumberUtil::getInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDependencies()
|
public function getDependencies(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
LoadCenters::class,
|
LoadCenters::class,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user