From 233fca92c01813443bac97741b01444267a1bc11 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Sun, 1 Jun 2014 10:38:21 -0500 Subject: [PATCH] [reference] [constraints] fixed outdated docs for the Collection constraint since Symfony 2.3. --- reference/constraints/Collection.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/constraints/Collection.rst b/reference/constraints/Collection.rst index 1badcf050f8..0e21d2c8a0d 100644 --- a/reference/constraints/Collection.rst +++ b/reference/constraints/Collection.rst @@ -195,11 +195,11 @@ field is optional but must be a valid email if supplied, you can do the followin - Collection: fields: personal_email: - - Collection\Required + - Required - NotBlank: ~ - Email: ~ alternate_email: - - Collection\Optional: + - Optional: - Email: ~ .. code-block:: php-annotations @@ -237,13 +237,13 @@ field is optional but must be a valid email if supplied, you can do the followin