Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 80cfcff

Browse filesBrowse files
committed
minor #6280 Fix syntax of Company class example (cakper)
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes #6280). Discussion ---------- Fix syntax of Company class example Commits ------- 7e621a8 Fix syntax of Company class example
2 parents 6be4c20 + 7e621a8 commit 80cfcff
Copy full SHA for 80cfcff

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.