From 99df65f3f9c795ee357a9949ef4b18c5a8df03de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Mon, 10 Sep 2018 17:26:48 +0200 Subject: [PATCH] [Serializer] Allow to specify a single value in @Groups --- components/serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/serializer.rst b/components/serializer.rst index 8828e4bca38..4682851a042 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -286,7 +286,7 @@ Then, create your groups definition: public $foo; /** - * @Groups({"group3"}) + * @Groups("group3") */ public function getBar() // is* methods are also supported {