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
13
13
{
14
14
use MicroKernelTrait;
15
15
16
- const CONFIG_EXTS = '.{php,xml,yaml,yml} ' ;
16
+ private const CONFIG_EXTS = '.{php,xml,yaml,yml} ' ;
17
17
18
- public function registerBundles ()
18
+ public function registerBundles (): iterable
19
19
{
20
20
$ contents = require $ this ->getProjectDir ().'/config/bundles.php ' ;
21
21
foreach ($ contents as $ class => $ envs ) {
@@ -25,7 +25,7 @@ public function registerBundles()
25
25
}
26
26
}
27
27
28
- protected function configureContainer (ContainerBuilder $ container , LoaderInterface $ loader )
28
+ protected function configureContainer (ContainerBuilder $ container , LoaderInterface $ loader ): void
29
29
{
30
30
$ container ->addResource (new FileResource ($ this ->getProjectDir ().'/config/bundles.php ' ));
31
31
$ container ->setParameter ('container.dumper.inline_class_loader ' , true );
@@ -37,7 +37,7 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa
37
37
$ loader ->load ($ confDir .'/{services}_ ' .$ this ->environment .self ::CONFIG_EXTS , 'glob ' );
38
38
}
39
39
40
- protected function configureRoutes (RouteCollectionBuilder $ routes )
40
+ protected function configureRoutes (RouteCollectionBuilder $ routes ): void
41
41
{
42
42
$ confDir = $ this ->getProjectDir ().'/config ' ;
43
43
You can’t perform that action at this time.
0 commit comments