File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
symfony/framework-bundle/4.2/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ class Kernel extends BaseKernel
1313{
1414 use MicroKernelTrait;
1515
16- const CONFIG_EXTS = '.{php,xml,yaml,yml} ' ;
16+ private const CONFIG_EXTS = '.{php,xml,yaml,yml} ' ;
1717
18- public function registerBundles ()
18+ public function registerBundles (): iterable
1919 {
2020 $ contents = require $ this ->getProjectDir ().'/config/bundles.php ' ;
2121 foreach ($ contents as $ class => $ envs ) {
@@ -25,7 +25,7 @@ public function registerBundles()
2525 }
2626 }
2727
28- protected function configureContainer (ContainerBuilder $ container , LoaderInterface $ loader )
28+ protected function configureContainer (ContainerBuilder $ container , LoaderInterface $ loader ): void
2929 {
3030 $ container ->addResource (new FileResource ($ this ->getProjectDir ().'/config/bundles.php ' ));
3131 $ container ->setParameter ('container.dumper.inline_class_loader ' , true );
@@ -37,7 +37,7 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa
3737 $ loader ->load ($ confDir .'/{services}_ ' .$ this ->environment .self ::CONFIG_EXTS , 'glob ' );
3838 }
3939
40- protected function configureRoutes (RouteCollectionBuilder $ routes )
40+ protected function configureRoutes (RouteCollectionBuilder $ routes ): void
4141 {
4242 $ confDir = $ this ->getProjectDir ().'/config ' ;
4343
You can’t perform that action at this time.
0 commit comments