bug #18072 [serializer][ObjectNormalizer] fixed Undefined attributeName. (aitboudad)
bug #18072 [serializer][ObjectNormalizer] fixed Undefined attributeName. (aitboudad)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[serializer][ObjectNormalizer] fixed Undefined attributeName.

| Q             | A
| ------------- | ---
| Branch        | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Commits
-------

ee087a1 [serializer][ObjectNormalizer] fixed Undefined attributeName.

symfony/Serializer,symfony/serializer