From 5ad684e6fc678df9d80a6839a87e3fac9fdf12fd Mon Sep 17 00:00:00 2001 From: Benjamin Porquet Date: Wed, 1 Mar 2017 13:46:22 +0100 Subject: [PATCH 1/3] Update without_class.rst A right bracket is missing --- form/without_class.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form/without_class.rst b/form/without_class.rst index 0cd8e692c67..f673febffa6 100644 --- a/form/without_class.rst +++ b/form/without_class.rst @@ -105,4 +105,4 @@ but here's a short example: .. code-block:: php - new NotBlank(array('groups' => array('create', 'update')) + new NotBlank(array('groups' => array('create', 'update'))) From 17d835cb0579a5c1dbffb50408dffeb51a881c0c Mon Sep 17 00:00:00 2001 From: Benjamin Porquet Date: Wed, 1 Mar 2017 14:36:07 +0100 Subject: [PATCH 2/3] Update without_class.rst --- form/without_class.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/form/without_class.rst b/form/without_class.rst index f673febffa6..a37113408a5 100644 --- a/form/without_class.rst +++ b/form/without_class.rst @@ -103,6 +103,4 @@ but here's a short example: ``Default`` group when creating the form, or set the correct group on the constraint you are adding. -.. code-block:: php - - new NotBlank(array('groups' => array('create', 'update'))) + new NotBlank(array('groups' => array('create', 'update'))) From 6502446aff12924e30887f9de0b5074eeb9ae9b6 Mon Sep 17 00:00:00 2001 From: Benjamin Porquet Date: Wed, 1 Mar 2017 14:51:18 +0100 Subject: [PATCH 3/3] Update without_class.rst --- form/without_class.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/form/without_class.rst b/form/without_class.rst index a37113408a5..3029a16a824 100644 --- a/form/without_class.rst +++ b/form/without_class.rst @@ -102,5 +102,7 @@ but here's a short example: If you are using validation groups, you need to either reference the ``Default`` group when creating the form, or set the correct group on the constraint you are adding. + + .. code-block:: php new NotBlank(array('groups' => array('create', 'update')))