minor #30495 [DependencyInjection] update docblock to match the actual behavior (xabbuh)

This PR was merged into the 3.4 branch.

Discussion
----------

[DependencyInjection] update docblock to match the actual behavior

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30270
| License       | MIT
| Doc PR        |

Commits
-------

83826daba9 update docblock to match the actual behavior
This commit is contained in:
Fabien Potencier 2019-03-09 20:32:50 +01:00
commit 7d227e954d

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