8000 Update without_class.rst · symfony/symfony-docs@7082f42 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7082f42

Browse files
Benjamin Porquetxabbuh
Benjamin Porquet
authored andcommitted
Update without_class.rst
1 parent 545a114 commit 7082f42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

form/without_class.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ but here's a short example:
101101
If you are using validation groups, you need to either reference the
102102
``Default`` group when creating the form, or set the correct group on
103103
the constraint you are adding.
104+
105+
.. code-block:: php
104106
105-
.. code-block:: php
106-
107-
new NotBlank(array('groups' => array('create', 'update'))
107+
new NotBlank(array('groups' => array('create', 'update')))

0 commit comments

Comments
 (0)
0