From da0f8b1d600c076bf22312835dc9979ae355733e Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 25 Sep 2017 16:56:00 +0200 Subject: [PATCH] Fix PHP 7.0 --- symfony/framework-bundle/3.3/src/Kernel.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/symfony/framework-bundle/3.3/src/Kernel.php b/symfony/framework-bundle/3.3/src/Kernel.php index e60b87aa..1d24ba48 100644 --- a/symfony/framework-bundle/3.3/src/Kernel.php +++ b/symfony/framework-bundle/3.3/src/Kernel.php @@ -24,7 +24,7 @@ class Kernel extends BaseKernel return dirname(__DIR__).'/var/log'; } - public function registerBundles(): iterable + public function registerBundles() { $contents = require dirname(__DIR__).'/config/bundles.php'; foreach ($contents as $class => $envs) { @@ -34,7 +34,7 @@ class Kernel extends BaseKernel } } - protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void + protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader) { $confDir = dirname(__DIR__).'/config'; $loader->load($confDir.'/packages/*'.self::CONFIG_EXTS, 'glob'); @@ -45,7 +45,7 @@ class Kernel extends BaseKernel $loader->load($confDir.'/services_'.$this->environment.self::CONFIG_EXTS, 'glob'); } - protected function configureRoutes(RouteCollectionBuilder $routes): void + protected function configureRoutes(RouteCollectionBuilder $routes) { $confDir = dirname(__DIR__).'/config'; if (is_dir($confDir.'/routes/')) {