[phpstan fix] Add void return type on all fixture load methods

This commit is contained in:
2024-11-28 11:47:17 +01:00
parent 8a16030b49
commit d68de96004
48 changed files with 53 additions and 53 deletions

View File

@@ -26,7 +26,7 @@ class LoadCustomField extends AbstractFixture implements OrderedFixtureInterface
return 15001;
}
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$cFTypes = [
['type' => 'text', 'options' => ['maxLength' => '255']],

View File

@@ -26,7 +26,7 @@ class LoadCustomFieldsGroup extends AbstractFixture implements OrderedFixtureInt
return 15000;
}
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
echo "loading customFieldsGroup...\n";

View File

@@ -29,7 +29,7 @@ class LoadReportACL extends AbstractFixture implements OrderedFixtureInterface
return 14999;
}
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
foreach (LoadPermissionsGroup::$refs as $permissionsGroupRef) {
$permissionsGroup = $this->getReference($permissionsGroupRef);

View File

@@ -40,7 +40,7 @@ final class LoadReports extends AbstractFixture implements OrderedFixtureInterfa
return 15002;
}
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$this->createExpected($manager);