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#54880 [Serializer] Rename object to data in NormalizerInterface::normalize (maxbeckers)
This PR was merged into the 7.2 branch.
Discussion
----------
[Serializer] Rename object to data in ``NormalizerInterface::normalize``
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fixsymfony#54774
| License | MIT
~~Rename sttribure of ``Serializer::normalize`` to the naming of the interface to make the usage of named attributes possible.~~
From the discussion of this PR I changed it to rename the first parameter of ``NormalizerInterface::normalize`` from `object` to `data` because it can't handle only objects, it's type `mixed`.
Commits
-------
26983eb [Serializer] rename the first parameter of ``NormalizerInterface::normalize`` from object to data because of type mixed
0 commit comments