Skip to content

Commit 13d15fa

Browse files
[Validator] Remove annotations from exactly option of Length constraint
1 parent 8b483c4 commit 13d15fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

reference/constraints/Length.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ the given value's length is not **exactly** equal to this value.
135135

136136
This option is the one being set by default when using the Length constraint
137137
without passing any named argument to it. This means that for example,
138-
``@Assert\Length(20)`` and ``@Assert\Length(exactly=20)`` are equivalent, as
139-
well as ``#[Assert\Length(20)]`` and ``#[Assert\Length(exactly: 20)]``.
138+
``#[Assert\Length(20)]`` and ``#[Assert\Length(exactly: 20)]`` are equivalent.
140139

141140
exactMessage
142141
~~~~~~~~~~~~

0 commit comments

Comments
 (0)