FrameworkBundle: Client: getContainer(): fixed phpdoc

The kernel might be shut down and then the method will return null instead of a ContainerInterface object
This commit is contained in:
Dawid Nowak 2016-03-14 22:10:13 +01:00
parent 0451003397
commit 7462fa59b1

View File

@ -41,7 +41,7 @@ class Client extends BaseClient
/** /**
* Returns the container. * Returns the container.
* *
* @return ContainerInterface * @return ContainerInterface|null Returns null when the Kernel has been shutdown or not started yet
*/ */
public function getContainer() public function getContainer()
{ {