You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #46496 [FrameworkBundle] update docblock to not expose the internal class (xabbuh)
This PR was merged into the 6.1 branch.
Discussion
----------
[FrameworkBundle] update docblock to not expose the internal class
| Q | A
| ------------- | ---
| Branch? | 6.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#46483
| License | MIT
| Doc PR |
The change was introduced in #44695 motivated by the idea to be able to use the `getServiceIds()` and `getRemovedIds()` methods which are Symfony-specific methods. Exposing the `TestContainer` has the drawback of static analysis tools complaining about making use of internal classes. Since the interesting methods are part of the base `Container` class which is not internal I propose to change the docblock to return an instance of this class instead.
Commits
-------
f30db82 update docblock to not expose the internal class
0 commit comments