Skip to content

Fix supportsNormalization parameters definition #13754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2020
Merged

Fix supportsNormalization parameters definition #13754

merged 1 commit into from
Jun 8, 2020

Conversation

mathieu-ducrot
Copy link
Contributor

Description

Add $context parameter in code example which is needed in Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface supportsNormalization definition.

In 3.4 documentation this was not needed because the example code implements NormalizerInterface vs ContextAwareNormalizerInterface since 4.4.

Add $context parameter in code example which is needed in Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface supportsNormalization definition.
@javiereguiluz
Copy link
Member

Good catch, thanks Mathieu.

@javiereguiluz javiereguiluz merged commit b60b22e into symfony:4.4 Jun 8, 2020
@mathieu-ducrot mathieu-ducrot deleted the patch-1 branch June 8, 2020 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants