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 symfony#57809 [BrowserKit][HttpKernel] make use of the @template annotation to improve type information (xabbuh)
This PR was merged into the 7.2 branch.
Discussion
----------
[BrowserKit][HttpKernel] make use of the ``@template`` annotation to improve type information
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
I was wondering why we had ``@method`` annotations in the `HttpKernelBrowser` class. It looks like they were introduced in symfony#21537 to satisfy static analysis tools and to improve auto-completion in IDEs. Given that we have more than one subclass of the `AbstractBrowser` class I thought it might be good to properly make use of the ``@template`` annotation to cover all methods of that class without having to list them all explicitly in all child classes.
Commits
-------
44e4e43 make use of the `@template` annotation to improve type information
0 commit comments