Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update serialization.md #1490

Open
wants to merge 9 commits into
base: 3.4
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update core/serialization.md
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
  • Loading branch information
jzabrodin and dunglas authored Sep 8, 2022
commit cfce698191999145403ec5239e1647d5ca33b7ce
3 changes: 2 additions & 1 deletion core/serialization.md
Original file line number Diff line number Diff line change
@@ -62,7 +62,8 @@ class Book
#[Groups(["read", "write"])]
public $name;

#[Groups("write"), MaxDepth(1)]
#[Groups("write")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#[Groups("write")]
#[Groups(["write"])]

#[MaxDepth(1)]
public $author;

// ...