mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
Add int return type to getOrder() method in fixture classes
This commit is contained in:
@@ -25,7 +25,7 @@ class LoadEventTypes extends AbstractFixture implements OrderedFixtureInterface
|
||||
{
|
||||
public static $refs = [];
|
||||
|
||||
public function getOrder()
|
||||
public function getOrder(): int
|
||||
{
|
||||
return 30000;
|
||||
}
|
||||
|
@@ -58,7 +58,7 @@ class LoadParticipation extends AbstractFixture implements OrderedFixtureInterfa
|
||||
return $events;
|
||||
}
|
||||
|
||||
public function getOrder()
|
||||
public function getOrder(): int
|
||||
{
|
||||
return 30010;
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@ use Doctrine\Persistence\ObjectManager;
|
||||
*/
|
||||
class LoadRolesACL extends AbstractFixture implements OrderedFixtureInterface
|
||||
{
|
||||
public function getOrder()
|
||||
public function getOrder(): int
|
||||
{
|
||||
return 30011;
|
||||
}
|
||||
|
@@ -45,7 +45,7 @@ class EventSearch extends AbstractSearch
|
||||
private readonly PaginatorFactory $paginatorFactory,
|
||||
) {}
|
||||
|
||||
public function getOrder()
|
||||
public function getOrder(): int
|
||||
{
|
||||
return 3000;
|
||||
}
|
||||
|
Reference in New Issue
Block a user