diff --git a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivity.php b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivity.php index a547ab21e..7430cf1ef 100644 --- a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivity.php +++ b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivity.php @@ -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) diff --git a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityNotifications.php b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityNotifications.php index ee999d7f1..2718ce9e1 100644 --- a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityNotifications.php +++ b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityNotifications.php @@ -38,7 +38,7 @@ class LoadActivityNotifications extends AbstractFixture implements DependentFixt ], ]; - public function getDependencies() + public function getDependencies(): array { return [ LoadActivity::class, diff --git a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReason.php b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReason.php index af674be9e..5682b0ad5 100644 --- a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReason.php +++ b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReason.php @@ -23,7 +23,7 @@ class LoadActivityReason extends AbstractFixture implements OrderedFixtureInterf { public static $references = []; - public function getOrder() + public function getOrder(): int { return 16300; } diff --git a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReasonCategory.php b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReasonCategory.php index a78ae3972..e90ab7d0f 100644 --- a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReasonCategory.php +++ b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityReasonCategory.php @@ -21,7 +21,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadActivityReasonCategory extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 16200; } diff --git a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityType.php b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityType.php index 891f2c979..8aa80d694 100644 --- a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityType.php +++ b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityType.php @@ -23,7 +23,7 @@ class LoadActivityType extends Fixture implements OrderedFixtureInterface { public static $references = []; - public function getOrder() + public function getOrder(): int { return 16100; } diff --git a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityTypeCategory.php b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityTypeCategory.php index 2f15a2676..00eb94517 100644 --- a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityTypeCategory.php +++ b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivityTypeCategory.php @@ -23,7 +23,7 @@ class LoadActivityTypeCategory extends Fixture implements OrderedFixtureInterfac { public static $references = []; - public function getOrder() + public function getOrder(): int { return 16050; } diff --git a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivitytACL.php b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivitytACL.php index e7c893cd9..92ad6ab3e 100644 --- a/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivitytACL.php +++ b/src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivitytACL.php @@ -26,7 +26,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadActivitytACL extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 16000; } diff --git a/src/Bundle/ChillCustomFieldsBundle/DataFixtures/ORM/LoadOption.php b/src/Bundle/ChillCustomFieldsBundle/DataFixtures/ORM/LoadOption.php index f95991b7c..49edb7b77 100644 --- a/src/Bundle/ChillCustomFieldsBundle/DataFixtures/ORM/LoadOption.php +++ b/src/Bundle/ChillCustomFieldsBundle/DataFixtures/ORM/LoadOption.php @@ -46,7 +46,7 @@ class LoadOption extends AbstractFixture implements OrderedFixtureInterface $this->fakerNl = \Faker\Factory::create('nl_NL'); } - public function getOrder() + public function getOrder(): int { return 1000; } diff --git a/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentACL.php b/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentACL.php index 1217c2a12..f227955a8 100644 --- a/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentACL.php +++ b/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentACL.php @@ -24,7 +24,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadDocumentACL extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 35000; } diff --git a/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentCategory.php b/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentCategory.php index 92c3780fe..6b232800e 100644 --- a/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentCategory.php +++ b/src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentCategory.php @@ -18,7 +18,7 @@ use Doctrine\Persistence\ObjectManager; class LoadDocumentCategory extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 35010; } diff --git a/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadEventTypes.php b/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadEventTypes.php index 1d2668c12..fef5066aa 100644 --- a/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadEventTypes.php +++ b/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadEventTypes.php @@ -25,7 +25,7 @@ class LoadEventTypes extends AbstractFixture implements OrderedFixtureInterface { public static $refs = []; - public function getOrder() + public function getOrder(): int { return 30000; } diff --git a/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadParticipation.php b/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadParticipation.php index db431c858..94a467e82 100644 --- a/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadParticipation.php +++ b/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadParticipation.php @@ -58,7 +58,7 @@ class LoadParticipation extends AbstractFixture implements OrderedFixtureInterfa return $events; } - public function getOrder() + public function getOrder(): int { return 30010; } diff --git a/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadRolesACL.php b/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadRolesACL.php index 87e676730..2464f3bd2 100644 --- a/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadRolesACL.php +++ b/src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadRolesACL.php @@ -23,7 +23,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadRolesACL extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 30011; } diff --git a/src/Bundle/ChillEventBundle/Search/EventSearch.php b/src/Bundle/ChillEventBundle/Search/EventSearch.php index ad0e83bd3..7c347bef6 100644 --- a/src/Bundle/ChillEventBundle/Search/EventSearch.php +++ b/src/Bundle/ChillEventBundle/Search/EventSearch.php @@ -45,7 +45,7 @@ class EventSearch extends AbstractSearch private readonly PaginatorFactory $paginatorFactory, ) {} - public function getOrder() + public function getOrder(): int { return 3000; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadAddressReferences.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadAddressReferences.php index d04ef29e8..9931ad4b5 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadAddressReferences.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadAddressReferences.php @@ -33,7 +33,7 @@ class LoadAddressReferences extends AbstractFixture implements ContainerAwareInt $this->faker = \Faker\Factory::create('fr_FR'); } - public function getOrder() + public function getOrder(): int { return 51; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCenters.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCenters.php index d835aad38..5be63a091 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCenters.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCenters.php @@ -31,7 +31,7 @@ class LoadCenters extends AbstractFixture implements OrderedFixtureInterface public static $refs = []; - public function getOrder() + public function getOrder(): int { return 100; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCountries.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCountries.php index 3433eebd7..1f68abd21 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCountries.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCountries.php @@ -25,12 +25,12 @@ class LoadCountries extends AbstractFixture implements ContainerAwareInterface, { private ?ContainerInterface $container = null; - public function getOrder() + public function getOrder(): int { return 20; } - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { echo "loading countries... \n"; diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGenders.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGenders.php index 2d74e6977..fa526b59d 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGenders.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGenders.php @@ -38,7 +38,7 @@ class LoadGenders extends AbstractFixture implements OrderedFixtureInterface ], ]; - public function getOrder() + public function getOrder(): int { return 100; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGroupCenters.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGroupCenters.php index 8254dec1d..561a3de69 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGroupCenters.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGroupCenters.php @@ -20,7 +20,7 @@ class LoadGroupCenters extends AbstractFixture implements OrderedFixtureInterfac { public static $refs = []; - public function getOrder() + public function getOrder(): int { return 500; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php index c5c03277f..c88bf748e 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php @@ -33,7 +33,7 @@ class LoadLanguages extends AbstractFixture implements ContainerAwareInterface, // This array contains regional code to not exclude private array $regionalVersionToInclude = ['ro_MD']; - public function getOrder() + public function getOrder(): int { return 10; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php index aab896add..a1185c655 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php @@ -25,7 +25,7 @@ class LoadLocationType extends AbstractFixture implements ContainerAwareInterfac { private ?ContainerInterface $container = null; - public function getOrder() + public function getOrder(): int { return 52; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPermissionsGroup.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPermissionsGroup.php index 885fc9af6..caaa4b5c0 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPermissionsGroup.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPermissionsGroup.php @@ -47,7 +47,7 @@ class LoadPermissionsGroup extends AbstractFixture implements OrderedFixtureInte public static $refs = []; - public function getOrder() + public function getOrder(): int { return 400; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPostalCodes.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPostalCodes.php index 29ee21ca6..c307a8563 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPostalCodes.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPostalCodes.php @@ -325,7 +325,7 @@ class LoadPostalCodes extends AbstractFixture implements OrderedFixtureInterface 85800,GIVRAND,FR,85100,46.6822701061,-1.8787272243,INSEE EOF; - public function getOrder() + public function getOrder(): int { return 50; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadRoleScopes.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadRoleScopes.php index 85e3f4ec2..fabcaf5ae 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadRoleScopes.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadRoleScopes.php @@ -44,7 +44,7 @@ class LoadRoleScopes extends AbstractFixture implements OrderedFixtureInterface public static $references = []; - public function getOrder() + public function getOrder(): int { return 300; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadScopes.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadScopes.php index 10c10de8c..cc39ae46c 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadScopes.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadScopes.php @@ -46,7 +46,7 @@ class LoadScopes extends AbstractFixture implements OrderedFixtureInterface ], ]; - public function getOrder() + public function getOrder(): int { return 200; } diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php index 1c99a3a74..8b148a214 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php @@ -54,7 +54,7 @@ class LoadUsers extends AbstractFixture implements ContainerAwareInterface, Orde private ?ContainerInterface $container = null; - public function getOrder() + public function getOrder(): int { return 1000; } diff --git a/src/Bundle/ChillMainBundle/Search/SearchInterface.php b/src/Bundle/ChillMainBundle/Search/SearchInterface.php index 10d4f2a06..ea919de0d 100644 --- a/src/Bundle/ChillMainBundle/Search/SearchInterface.php +++ b/src/Bundle/ChillMainBundle/Search/SearchInterface.php @@ -37,7 +37,7 @@ interface SearchInterface * * @return int */ - public function getOrder(); + public function getOrder(): int; /** * we may desactive the search interface by default. in this case, diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php index fb836ed3a..745307d99 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php @@ -48,7 +48,7 @@ class LoadAccompanyingPeriodClosingMotive extends AbstractFixture implements Ord public static $references = []; - public function getOrder() + public function getOrder(): int { return 9500; } diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodNotifications.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodNotifications.php index e298c2cc3..ee5a6f6f9 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodNotifications.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodNotifications.php @@ -38,7 +38,7 @@ class LoadAccompanyingPeriodNotifications extends AbstractFixture implements Dep ], ]; - public function getDependencies() + public function getDependencies(): array { return [ LoadPeople::class, diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodOrigin.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodOrigin.php index 8eb0688bd..f0424c547 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodOrigin.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodOrigin.php @@ -27,7 +27,7 @@ class LoadAccompanyingPeriodOrigin extends AbstractFixture implements OrderedFix private array $phoneCall = ['en' => 'phone call', 'fr' => 'appel téléphonique']; - public function getOrder() + public function getOrder(): int { return 9000; } diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodWork.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodWork.php index 44992ebef..be32d92cd 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodWork.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadAccompanyingPeriodWork.php @@ -28,7 +28,7 @@ class LoadAccompanyingPeriodWork extends \Doctrine\Bundle\FixturesBundle\Fixture public function __construct(private readonly AccompanyingPeriodRepository $periodRepository, private readonly EvaluationRepository $evaluationRepository) {} - public function getDependencies() + public function getDependencies(): array { return [ LoadPeople::class, diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php index 2acbcbfbd..3a9111e2f 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php @@ -40,7 +40,7 @@ class LoadCustomFields extends AbstractFixture implements OrderedFixtureInterfac ) {} // put your code here - public function getOrder() + public function getOrder(): int { return 10003; } diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadHousehold.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadHousehold.php index ba2c67a08..de7aa56f8 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadHousehold.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadHousehold.php @@ -38,7 +38,7 @@ class LoadHousehold extends Fixture implements DependentFixtureInterface $this->loader = new NativeLoader(); } - public function getDependencies() + public function getDependencies(): array { return [ LoadPeople::class, diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadMaritalStatus.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadMaritalStatus.php index ddce77d6c..6d93bafce 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadMaritalStatus.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadMaritalStatus.php @@ -31,7 +31,7 @@ class LoadMaritalStatus extends AbstractFixture implements OrderedFixtureInterfa ['id' => 'unknown', 'name' => ['en' => 'unknown', 'fr' => 'indéterminé']], ]; - public function getOrder() + public function getOrder(): int { return 9999; } diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php index f1be52959..8bddc08c3 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php @@ -241,7 +241,7 @@ class LoadPeople extends AbstractFixture implements ContainerAwareInterface, Ord $this->loader = new NativeLoader($this->faker); } - public function getOrder() + public function getOrder(): int { return 10000; } diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPersonACL.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPersonACL.php index 4b57dd048..dfdf2acab 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPersonACL.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPersonACL.php @@ -25,7 +25,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadPersonACL extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 9600; } diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadSocialWorkMetadata.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadSocialWorkMetadata.php index dc1e7b4dd..0d18feeb7 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadSocialWorkMetadata.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadSocialWorkMetadata.php @@ -21,7 +21,7 @@ class LoadSocialWorkMetadata extends Fixture implements OrderedFixtureInterface { public function __construct(private readonly SocialWorkMetadata $importer) {} - public function getOrder() + public function getOrder(): int { return 9500; } diff --git a/src/Bundle/ChillPersonBundle/Search/PersonSearch.php b/src/Bundle/ChillPersonBundle/Search/PersonSearch.php index 8462d5a32..c5c15e125 100644 --- a/src/Bundle/ChillPersonBundle/Search/PersonSearch.php +++ b/src/Bundle/ChillPersonBundle/Search/PersonSearch.php @@ -169,7 +169,7 @@ class PersonSearch extends AbstractSearch implements HasAdvancedSearchFormInterf * * @see \Chill\MainBundle\Search\SearchInterface::getOrder() */ - public function getOrder() + public function getOrder(): int { return 100; } diff --git a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomField.php b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomField.php index e32b73544..ea7e647da 100644 --- a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomField.php +++ b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomField.php @@ -21,7 +21,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadCustomField extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 15001; } diff --git a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomFieldsGroup.php b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomFieldsGroup.php index 6e4639210..ec1a19ab1 100644 --- a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomFieldsGroup.php +++ b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadCustomFieldsGroup.php @@ -21,7 +21,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadCustomFieldsGroup extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 15000; } diff --git a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReportACL.php b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReportACL.php index 2aa175b80..1ed521a1e 100644 --- a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReportACL.php +++ b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReportACL.php @@ -24,7 +24,7 @@ use Doctrine\Persistence\ObjectManager; */ class LoadReportACL extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 14999; } diff --git a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php index 222458a25..c0d07c141 100644 --- a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php +++ b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php @@ -35,7 +35,7 @@ final class LoadReports extends AbstractFixture implements OrderedFixtureInterfa $this->faker = FakerFactory::create('fr_FR'); } - public function getOrder() + public function getOrder(): int { return 15002; } diff --git a/src/Bundle/ChillTaskBundle/DataFixtures/ORM/LoadTaskACL.php b/src/Bundle/ChillTaskBundle/DataFixtures/ORM/LoadTaskACL.php index cb38df91c..9d3385e1e 100644 --- a/src/Bundle/ChillTaskBundle/DataFixtures/ORM/LoadTaskACL.php +++ b/src/Bundle/ChillTaskBundle/DataFixtures/ORM/LoadTaskACL.php @@ -25,12 +25,12 @@ use Doctrine\Persistence\ObjectManager; */ class LoadTaskACL extends AbstractFixture implements OrderedFixtureInterface { - public function getOrder() + public function getOrder(): int { return 16000; } - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { foreach (LoadPermissionsGroup::$refs as $permissionsGroupRef) { $permissionsGroup = $this->getReference($permissionsGroupRef); diff --git a/src/Bundle/ChillThirdPartyBundle/DataFixtures/ORM/LoadThirdParty.php b/src/Bundle/ChillThirdPartyBundle/DataFixtures/ORM/LoadThirdParty.php index 7261deba4..41457de99 100644 --- a/src/Bundle/ChillThirdPartyBundle/DataFixtures/ORM/LoadThirdParty.php +++ b/src/Bundle/ChillThirdPartyBundle/DataFixtures/ORM/LoadThirdParty.php @@ -32,7 +32,7 @@ class LoadThirdParty extends Fixture implements DependentFixtureInterface $this->phoneNumberUtil = PhoneNumberUtil::getInstance(); } - public function getDependencies() + public function getDependencies(): array { return [ LoadCenters::class,