Skip to content

Commit dfae755

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Minor [Serializer] Fix the subject agreement mistake - grammar [Serializer] Use correct property types in example
2 parents a353205 + 61d7898 commit dfae755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ It is also possible to serialize only a set of specific attributes::
401401
{
402402
public string $familyName;
403403
public string $givenName;
404-
public string $company;
404+
public Company $company;
405405
}
406406

407407
class Company
@@ -427,7 +427,7 @@ It is also possible to serialize only a set of specific attributes::
427427
Only attributes that are not ignored (see below) are available.
428428
If some serialization groups are set, only attributes allowed by those groups can be used.
429429

430-
As for groups, attributes can be selected during both the serialization and deserialization process.
430+
As for groups, attributes can be selected during both the serialization and deserialization processes.
431431

432432
.. _serializer_ignoring-attributes:
433433

0 commit comments

Comments
 (0)