Skip to content

Commit 7b2edfc

Browse files
committed
Fix: Move versionadded
1 parent 3bed40f commit 7b2edfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/constraints/Expression.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ expression that must return true in order for validation to pass. To learn
143143
more about the expression language syntax, see
144144
:doc:`/components/expression_language/syntax`.
145145

146+
Alternatively, you can set the ``negate`` option to ``false`` in order to
147+
assert that the expression must return ``true`` for validation to fail.
148+
146149
.. versionadded:: 6.2
147150

148151
The ``negate`` option was introduced in Symfony 6.2.
149152

150-
Alternatively, you can set the ``negate`` option to ``false`` in order to
151-
assert that the expression must return ``true`` for validation to fail.
152-
153153
.. sidebar:: Mapping the Error to a Specific Field
154154

155155
You can also attach the constraint to a specific property and still validate

0 commit comments

Comments
 (0)