Skip to content

Commit 13a1814

Browse files
[HttpKernel][Console] Revert native return types on Bundle and Command classes
1 parent 34cbd3e commit 13a1814

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

Bundle/Bundle.php

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,27 @@ abstract class Bundle implements BundleInterface
3434
*/
3535
protected $container;
3636

37-
public function boot(): void
37+
/**
38+
* @return void
39+
*/
40+
public function boot()
3841
{
3942
}
4043

41-
public function shutdown(): void
44+
/**
45+
* @return void
46+
*/
47+
public function shutdown()
4248
{
4349
}
4450

4551
/**
4652
* This method can be overridden to register compilation passes,
4753
* other extensions, ...
54+
*
55+
* @return void
4856
*/
49-
public function build(ContainerBuilder $container): void
57+
public function build(ContainerBuilder $container)
5058
{
5159
}
5260

@@ -113,7 +121,10 @@ final public function getName(): string
113121
return $this->name;
114122
}
115123

116-
public function registerCommands(Application $application): void
124+
/**
125+
* @return void
126+
*/
127+
public function registerCommands(Application $application)
117128
{
118129
}
119130

0 commit comments

Comments
 (0)