diff --git a/core/serialization.md b/core/serialization.md index 2ee8948197e..a5c4658d02b 100644 --- a/core/serialization.md +++ b/core/serialization.md @@ -208,7 +208,7 @@ use Symfony\Component\Serializer\Annotation\Groups; #[Put(normalizationContext: ['groups' => ['put']])] class Book { - #[Groups(['get', 'put']) + #[Groups(['get', 'put'])] public $name; #[Groups('get')]