-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Update without_class.rst #7552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update without_class.rst #7552
Conversation
A right bracket is missing
form/without_class.rst
Outdated
@@ -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'))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the code block be part of the tip? I suggest to indent everything starting with line 106 by additional four spaces.
@xabbuh : like that ? |
form/without_class.rst
Outdated
.. code-block:: php | ||
|
||
new NotBlank(array('groups' => array('create', 'update'))) | ||
new NotBlank(array('groups' => array('create', 'update'))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the .. code-block::
notation but you then need to use the default php one by adding a double colon ::
at the end of the line 104.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(for another language the notation should have been kept and indented as well)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you @Benjamin-Porquet. |
A right bracket is missing