Skip to content

Commit 2b29113

Browse files
authored
[Serializer] Use correct property types in example
1 parent 80f7c9e commit 2b29113

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
@@ -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

0 commit comments

Comments
 (0)