mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
Add int return type to getOrder() method in fixture classes
This commit is contained in:
@@ -21,7 +21,7 @@ use Doctrine\Persistence\ObjectManager;
|
||||
*/
|
||||
class LoadCustomField extends AbstractFixture implements OrderedFixtureInterface
|
||||
{
|
||||
public function getOrder()
|
||||
public function getOrder(): int
|
||||
{
|
||||
return 15001;
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ use Doctrine\Persistence\ObjectManager;
|
||||
*/
|
||||
class LoadCustomFieldsGroup extends AbstractFixture implements OrderedFixtureInterface
|
||||
{
|
||||
public function getOrder()
|
||||
public function getOrder(): int
|
||||
{
|
||||
return 15000;
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ use Doctrine\Persistence\ObjectManager;
|
||||
*/
|
||||
class LoadReportACL extends AbstractFixture implements OrderedFixtureInterface
|
||||
{
|
||||
public function getOrder()
|
||||
public function getOrder(): int
|
||||
{
|
||||
return 14999;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user