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 b10ea35

Browse filesBrowse files
committed
minor #10314 [Serializer] Allow to specify a single value in @groups (dunglas)
This PR was merged into the 3.4 branch. Discussion ---------- [Serializer] Allow to specify a single value in @groups symfony/symfony#20509 Commits ------- 99df65f [Serializer] Allow to specify a single value in @groups
2 parents 015ba0c + 99df65f commit b10ea35
Copy full SHA for b10ea35

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Then, create your groups definition:
286286
public $foo;
287287
288288
/**
289-
* @Groups({"group3"})
289+
* @Groups("group3")
290290
*/
291291
public function getBar() // is* methods are also supported
292292
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.