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 #48079 Fix the DataTransformerInterface generic types to support the patcher (stof)
This PR was merged into the 6.2 branch.
Discussion
----------
Fix the DataTransformerInterface generic types to support the patcher
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR | n/a
The type patcher adding return types handles template types only for methods that already have a return type. As `DataTransformerInterface` is not typed yet in Symfony 6.x, we need to keep the future native types in ``@return`` for the patcher tool. This puts the generic type (introduced in #47412) in ``@psalm`-return`, as done in #48012 (I detected this issue when regenerating the return type for that other PR)
Commits
-------
d9fd5c71ad Fix the DataTransformerInterface generic types to support the patcher
0 commit comments