diff --git a/form/without_class.rst b/form/without_class.rst index 0cd8e692c67..3029a16a824 100644 --- a/form/without_class.rst +++ b/form/without_class.rst @@ -102,7 +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 -.. code-block:: php - - new NotBlank(array('groups' => array('create', 'update')) + new NotBlank(array('groups' => array('create', 'update')))