[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

@@ -24,7 +24,7 @@ class LoadUserGroup extends Fixture implements FixtureGroupInterface
return ['user-group'];
}
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$centerASocial = $manager->getRepository(User::class)->findOneBy(['username' => 'center a_social']);
$centerBSocial = $manager->getRepository(User::class)->findOneBy(['username' => 'center b_social']);