KernelInterface can return null container

This commit is contained in:
Mponos George 2018-09-14 00:01:37 +03:00 committed by Nicolas Grekas
parent c75b1edf78
commit 7cb340a2db

View File

@ -139,7 +139,7 @@ interface KernelInterface extends HttpKernelInterface, \Serializable
/**
* Gets the current container.
*
* @return ContainerInterface A ContainerInterface instance
* @return ContainerInterface|null A ContainerInterface instance or null when the Kernel is shutdown
*/
public function getContainer();