Skip to content

Update custom_normalizer.rst: Fix incorrect variable in normalize() method example #21077

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 13, 2025

Conversation

kevinirlen
Copy link
Contributor

The normalize() method in the documentation references an $object variable that is never defined. This can be confusing for developers trying to follow the example.

This merge request updates the example to use the correct $data variable, which holds the original object being normalized.

@xabbuh xabbuh added this to the 7.2 milestone Jun 12, 2025
@javiereguiluz javiereguiluz changed the base branch from 7.3 to 7.2 June 13, 2025 07:27
@javiereguiluz
Copy link
Member

Thanks Kevin ... and congrats on your first Symfony Docs contribution 🎉

@javiereguiluz javiereguiluz merged commit 4a9299d into symfony:7.2 Jun 13, 2025
3 checks passed
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