From dfaa5f2e9c32bb50190efd7745c35991ec4dc657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Thu, 23 Jul 2020 15:56:23 +0200 Subject: [PATCH] [Validator] Made the code sample more explicit with accepted values --- reference/constraints/Collection.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/constraints/Collection.rst b/reference/constraints/Collection.rst index a296f68dc3e..80c87801356 100644 --- a/reference/constraints/Collection.rst +++ b/reference/constraints/Collection.rst @@ -207,7 +207,7 @@ you can do the following: * } * ) */ - protected $profileData = ['personal_email']; + protected $profileData = ['personal_email' => 'email@example.com']; } .. code-block:: yaml