Skip to content

Commit d3f6ebb

Browse files
committed
minor #17770 [Validator] Remove annotations from exactly option of Length constraint (alexandre-daubois)
This PR was merged into the 6.0 branch. Discussion ---------- [Validator] Remove annotations from `exactly` option of Length constraint Follow-up #17764 (comment) Commits ------- 13d15fa [Validator] Remove annotations from `exactly` option of Length constraint
2 parents 8b483c4 + 13d15fa commit d3f6ebb

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)