diff --git a/Loader/SymfonyFixturesLoader.php b/Loader/SymfonyFixturesLoader.php index 5489ca1d..77d0e219 100644 --- a/Loader/SymfonyFixturesLoader.php +++ b/Loader/SymfonyFixturesLoader.php @@ -31,7 +31,7 @@ final class SymfonyFixturesLoader extends ContainerAwareLoader implements Symfon * * @param array $fixtures */ - public function addFixtures(array $fixtures) + public function addFixtures(array $fixtures): void { // Because parent::addFixture may call $this->createFixture // we cannot call $this->addFixture in this loop @@ -48,7 +48,7 @@ public function addFixtures(array $fixtures) } } - public function addFixture(FixtureInterface $fixture) + public function addFixture(FixtureInterface $fixture): void { $class = get_class($fixture); $this->loadedFixtures[$class] = $fixture; diff --git a/ManagerConfigurator.php b/ManagerConfigurator.php index 19385988..a338929c 100644 --- a/ManagerConfigurator.php +++ b/ManagerConfigurator.php @@ -36,10 +36,8 @@ public function configure(DocumentManager $documentManager) /** * Enable filters for an given document manager - * - * @return null */ - private function enableFilters(DocumentManager $documentManager) + private function enableFilters(DocumentManager $documentManager): void { if (empty($this->enabledFilters)) { return;