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

@@ -21,7 +21,7 @@ use Doctrine\Persistence\ObjectManager;
*/
class LoadCustomField extends AbstractFixture implements OrderedFixtureInterface
{
public function getOrder()
public function getOrder(): int
{
return 15001;
}

View File

@@ -21,7 +21,7 @@ use Doctrine\Persistence\ObjectManager;
*/
class LoadCustomFieldsGroup extends AbstractFixture implements OrderedFixtureInterface
{
public function getOrder()
public function getOrder(): int
{
return 15000;
}

View File

@@ -24,7 +24,7 @@ use Doctrine\Persistence\ObjectManager;
*/
class LoadReportACL extends AbstractFixture implements OrderedFixtureInterface
{
public function getOrder()
public function getOrder(): int
{
return 14999;
}

View File

@@ -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;
}