update docblock to match the actual behavior

This commit is contained in:
Christian Flothmann 2019-03-08 19:10:13 +01:00
parent e9c8e19f46
commit 83826daba9

View File

@ -159,7 +159,7 @@ class Container implements ResettableContainerInterface
/**
* Sets a service.
*
* Setting a service to null resets the service: has() returns false and get()
* Setting a synthetic service to null resets it: has() returns false and get()
* behaves in the same way as if the service was never created.
*
* @param string $id The service identifier