Skip to content

Commit 7e621a8

Browse files
cakperxabbuh
authored andcommitted
Fix syntax of Company class example
1 parent 6be4c20 commit 7e621a8

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
@@ -361,8 +361,8 @@ Given you have the following object::
361361

362362
class Company
363363
{
364-
public name;
365-
public address;
364+
public $name;
365+
public $address;
366366
}
367367

368368
And in the serialized form, all attributes must be prefixed by ``org_`` like

0 commit comments

Comments
 (0)