File tree Expand file tree Collapse file tree 3 files changed +5
-22
lines changed Expand file tree Collapse file tree 3 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 22
22
*/
23
23
class DebugBundle extends Bundle
24
24
{
25
- /**
26
- * @return void
27
- */
28
- public function boot ()
25
+ public function boot (): void
29
26
{
30
27
if ($ this ->container ->getParameter ('kernel.debug ' )) {
31
28
$ container = $ this ->container ;
@@ -52,20 +49,14 @@ public function boot()
52
49
}
53
50
}
54
51
55
- /**
56
- * @return void
57
- */
58
- public function build (ContainerBuilder $ container )
52
+ public function build (ContainerBuilder $ container ): void
59
53
{
60
54
parent ::build ($ container );
61
55
62
56
$ container ->addCompilerPass (new DumpDataCollectorPass ());
63
57
}
64
58
65
- /**
66
- * @return void
67
- */
68
- public function registerCommands (Application $ application )
59
+ public function registerCommands (Application $ application ): void
69
60
{
70
61
// noop
71
62
}
Original file line number Diff line number Diff line change 22
22
*/
23
23
class DumpDataCollectorPass implements CompilerPassInterface
24
24
{
25
- /**
26
- * @return void
27
- */
28
- public function process (ContainerBuilder $ container )
25
+ public function process (ContainerBuilder $ container ): void
29
26
{
30
27
if (!$ container ->hasDefinition ('data_collector.dump ' )) {
31
28
return ;
Original file line number Diff line number Diff line change 23
23
use Symfony \Component \VarDumper \Dumper \HtmlDumper ;
24
24
25
25
/**
26
- * DebugExtension.
27
- *
28
26
* @author Nicolas Grekas <[email protected] >
29
27
*/
30
28
class DebugExtension extends Extension
31
29
{
32
- /**
33
- * @return void
34
- */
35
- public function load (array $ configs , ContainerBuilder $ container )
30
+ public function load (array $ configs , ContainerBuilder $ container ): void
36
31
{
37
32
$ configuration = new Configuration ();
38
33
$ config = $ this ->processConfiguration ($ configuration , $ configs );
You can’t perform that action at this time.
0 commit comments