From bc7ff66d159d14942985f06457a5c0733bff9964 Mon Sep 17 00:00:00 2001 From: tchapi Date: Wed, 15 May 2019 19:09:58 +0200 Subject: [PATCH] Add type hints for Symfony 4 --- SyliusArchetypeBundle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SyliusArchetypeBundle.php b/SyliusArchetypeBundle.php index b873158..dd6ce23 100644 --- a/SyliusArchetypeBundle.php +++ b/SyliusArchetypeBundle.php @@ -22,7 +22,7 @@ class SyliusArchetypeBundle extends AbstractResourceBundle /** * {@inheritdoc} */ - public function getSupportedDrivers() + public function getSupportedDrivers(): array { return [ SyliusResourceBundle::DRIVER_DOCTRINE_ORM, @@ -32,7 +32,7 @@ public function getSupportedDrivers() /** * {@inheritdoc} */ - protected function getModelNamespace() + protected function getModelNamespace(): ?string { return 'Sylius\Component\Archetype\Model'; }