8000 [Serializer] Allow to specify a single value in @Groups · symfony/symfony-docs@99df65f · GitHub
[go: up one dir, main page]

Skip to content

Commit 99df65f

Browse files
committed
[Serializer] Allow to specify a single value in @groups
1 parent 795febe commit 99df65f

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