8000 Removed duplicate "long"s · symfony/symfony-docs@dcffc02 · GitHub
[go: up one dir, main page]

Skip to content

Commit dcffc02

Browse files
bystonesweaverryan
authored andcommitted
Removed duplicate "long"s
1 parent c19598a commit dcffc02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/constraints/Length.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
3636
min: 2
3737
max: 50
3838
minMessage: "Your first name must be at least {{ limit }} characters long"
39-
maxMessage: "Your first name cannot be longer than {{ limit }} characters long"
39+
maxMessage: "Your first name cannot be longer than {{ limit }} characters"
4040
4141
.. code-block:: php-annotations
4242
@@ -52,7 +52,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
5252
* min = 2,
5353
* max = 50,
5454
* minMessage = "Your first name must be at least {{ limit }} characters long",
55-
* maxMessage = "Your first name cannot be longer than {{ limit }} characters long"
55+
* maxMessage = "Your first name cannot be longer than {{ limit }} characters"
5656
* )
5757
*/
5858
protected $firstName;
@@ -72,7 +72,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
7272
<option name="min">2</option>
7373
<option name="max">50</option>
7474
<option name="minMessage">Your first name must be at least {{ limit }} characters long</option>
75-
<option name="maxMessage">Your first name cannot be longer than {{ limit }} characters long</option>
75+
<option name="maxMessage">Your first name cannot be longer than {{ limit }} characters</option>
7676
</constraint>
7777
</property>
7878
</class>
@@ -94,7 +94,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
9494
'min' => 2,
9595
'max' => 50,
9696
'minMessage' => 'Your first name must be at least {{ limit }} characters long',
97-
'maxMessage' => 'Your first name cannot be longer than {{ limit }} characters long',
97+
'maxMessage' => 'Your first name cannot be longer than {{ limit }} characters',
9898
)));
9999
}
100100
}

0 commit comments

Comments
 (0)
0