Skip to content

Commit 7cb340a

Browse files
gmponosnicolas-grekas
authored andcommitted
KernelInterface can return null container
1 parent c75b1ed commit 7cb340a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/KernelInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function getRootDir();
139139
/**
140140
* Gets the current container.
141141
*
142-
* @return ContainerInterface A ContainerInterface instance
142+
* @return ContainerInterface|null A ContainerInterface instance or null when the Kernel is shutdown
143143
*/
144144
public function getContainer();
145145

0 commit comments

Comments
 (0)