diff --git a/src/Kunstmaan/FixturesBundle/Loader/FixtureLoader.php b/src/Kunstmaan/FixturesBundle/Loader/FixtureLoader.php index 7f5bb10a0b..927bd1b209 100644 --- a/src/Kunstmaan/FixturesBundle/Loader/FixtureLoader.php +++ b/src/Kunstmaan/FixturesBundle/Loader/FixtureLoader.php @@ -24,7 +24,7 @@ abstract class FixtureLoader implements FixtureInterface, ContainerAwareInterfac /** * Load data fixtures with the passed EntityManager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $this->manager = $manager; $options = $this->getOptions(); diff --git a/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/GroupFixtures.php b/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/GroupFixtures.php index 58c28a3736..9669544aa5 100644 --- a/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/GroupFixtures.php +++ b/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/GroupFixtures.php @@ -19,7 +19,7 @@ class GroupFixtures extends AbstractFixture implements OrderedFixtureInterface /** * Load data fixtures with the passed EntityManager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $group1 = $this->createGroup($manager, 'Administrators', [ $this->getReference(RoleFixtures::REFERENCE_PERMISSIONMANAGER_ROLE), diff --git a/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/RoleFixtures.php b/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/RoleFixtures.php index b4c2a27e1e..407ae45e16 100644 --- a/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/RoleFixtures.php +++ b/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/RoleFixtures.php @@ -22,7 +22,7 @@ class RoleFixtures extends AbstractFixture implements OrderedFixtureInterface /** * Load data fixtures with the passed EntityManager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $role1 = $this->createRole($manager, 'ROLE_PERMISSIONMANAGER'); $role2 = $this->createRole($manager, 'ROLE_ADMIN'); diff --git a/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/UserFixtures.php b/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/UserFixtures.php index d8321a8a2f..d2f3f240c1 100644 --- a/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/UserFixtures.php +++ b/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/UserFixtures.php @@ -28,7 +28,7 @@ public function __construct(UserManager $userManager, string $defaultAdminLocale /** * Load data fixtures with the passed EntityManager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $password = substr(rtrim(strtr(base64_encode(random_bytes(32)), '+/', '-_'), '='), 0, 8); diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/DataFixtures/ORM/ArticleGenerator/ArticleFixtures.php b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/DataFixtures/ORM/ArticleGenerator/ArticleFixtures.php index c49b78f849..7a0ec5bbeb 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/DataFixtures/ORM/ArticleGenerator/ArticleFixtures.php +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/DataFixtures/ORM/ArticleGenerator/ArticleFixtures.php @@ -49,7 +49,7 @@ public function __construct( * * @param ObjectManager $manager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { if ($this->isMultiLanguage) { $languages = explode('|', $this->requiredLocales); diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/defaultsite/DataFixtures/ORM/DefaultSiteGenerator/DefaultSiteFixtures.php b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/defaultsite/DataFixtures/ORM/DefaultSiteGenerator/DefaultSiteFixtures.php index bc0d51c21c..c8cd69a558 100755 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/defaultsite/DataFixtures/ORM/DefaultSiteGenerator/DefaultSiteFixtures.php +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/defaultsite/DataFixtures/ORM/DefaultSiteGenerator/DefaultSiteFixtures.php @@ -84,7 +84,7 @@ public function __construct( * * @param ObjectManager $manager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $this->manager = $manager; diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/searchpage/DataFixtures/ORM/SearchPageGenerator/SearchFixtures.php b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/searchpage/DataFixtures/ORM/SearchPageGenerator/SearchFixtures.php index 9bb2b1d355..f734a97c90 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/searchpage/DataFixtures/ORM/SearchPageGenerator/SearchFixtures.php +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/searchpage/DataFixtures/ORM/SearchPageGenerator/SearchFixtures.php @@ -41,7 +41,7 @@ public function __construct( * * @param ObjectManager $manager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { if ($this->isMultiLanguage) { $languages = explode('|', $this->requiredLocales); diff --git a/src/Kunstmaan/MediaBundle/DataFixtures/ORM/FolderFixtures.php b/src/Kunstmaan/MediaBundle/DataFixtures/ORM/FolderFixtures.php index 7b16da69bf..bdcc07e20a 100644 --- a/src/Kunstmaan/MediaBundle/DataFixtures/ORM/FolderFixtures.php +++ b/src/Kunstmaan/MediaBundle/DataFixtures/ORM/FolderFixtures.php @@ -16,7 +16,7 @@ class FolderFixtures extends AbstractFixture implements OrderedFixtureInterface /** * Load data fixtures with the passed EntityManager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $gal = new Folder(); $gal->setRel(Folder::TYPE_MEDIA); diff --git a/src/Kunstmaan/TranslatorBundle/DataFixtures/ORM/TranslationFixtures.php b/src/Kunstmaan/TranslatorBundle/DataFixtures/ORM/TranslationFixtures.php index 216b5f9059..a3177cb662 100644 --- a/src/Kunstmaan/TranslatorBundle/DataFixtures/ORM/TranslationFixtures.php +++ b/src/Kunstmaan/TranslatorBundle/DataFixtures/ORM/TranslationFixtures.php @@ -22,7 +22,7 @@ class TranslationFixtures extends AbstractFixture implements OrderedFixtureInter /** * Load data fixtures with the passed EntityManager */ - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $this->repo = $manager->getRepository(Entity::class); diff --git a/src/Kunstmaan/TranslatorBundle/Tests/Fixtures/TranslationDataFixture.php b/src/Kunstmaan/TranslatorBundle/Tests/Fixtures/TranslationDataFixture.php index 8e06215ffb..2b301b5ac3 100644 --- a/src/Kunstmaan/TranslatorBundle/Tests/Fixtures/TranslationDataFixture.php +++ b/src/Kunstmaan/TranslatorBundle/Tests/Fixtures/TranslationDataFixture.php @@ -23,7 +23,7 @@ public function __construct() $this->faker = FakerFactory::create(); } - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $this->errorKeys($manager); $this->exceptionKeys($manager);