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:
commit
7d227e954d
@ -159,7 +159,7 @@ class Container implements ResettableContainerInterface
|
|||||||
/**
|
/**
|
||||||
* Sets a service.
|
* 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.
|
* behaves in the same way as if the service was never created.
|
||||||
*
|
*
|
||||||
* @param string $id The service identifier
|
* @param string $id The service identifier
|
||||||
|
Reference in New Issue
Block a user