File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ class DoctrineBundle extends Bundle
3636{
3737 private Closure |null $ autoloader = null ;
3838
39- /** @return void */
40- public function build (ContainerBuilder $ container )
39+ public function build (ContainerBuilder $ container ): void
4140 {
4241 parent ::build ($ container );
4342
@@ -75,8 +74,7 @@ public function process(ContainerBuilder $container): void
7574 $ container ->addCompilerPass (new RegisterUidTypePass ());
7675 }
7776
78- /** @return void */
79- public function boot ()
77+ public function boot (): void
8078 {
8179 // Register an autoloader for proxies to avoid issues when unserializing them
8280 // when the ORM is used.
@@ -124,8 +122,7 @@ public function boot()
124122 $ this ->autoloader = Autoloader::register ($ dir , $ namespace , $ proxyGenerator );
125123 }
126124
127- /** @return void */
128- public function shutdown ()
125+ public function shutdown (): void
129126 {
130127 if ($ this ->autoloader !== null ) {
131128 spl_autoload_unregister ($ this ->autoloader );
@@ -157,8 +154,7 @@ public function shutdown()
157154 }
158155 }
159156
160- /** @return void */
161- public function registerCommands (Application $ application )
157+ public function registerCommands (Application $ application ): void
162158 {
163159 }
164160
You can’t perform that action at this time.
0 commit comments