Skip to content

Commit 439d47c

Browse files
committed
minor #19979 [Serializer] Update serializer.rst (novah77)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Serializer] Update serializer.rst In the sub title Attributes Groups, the text using annotations should be using attributes. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- a84f466 Update serializer.rst
2 parents b8d39ec + a84f466 commit 439d47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Assume you have the following plain-old-PHP object::
264264
}
265265
}
266266

267-
The definition of serialization can be specified using annotations, XML
267+
The definition of serialization can be specified using attributes, XML
268268
or YAML. The :class:`Symfony\\Component\\Serializer\\Mapping\\Factory\\ClassMetadataFactory`
269269
that will be used by the normalizer must be aware of the format to use.
270270

0 commit comments

Comments
 (0)