Skip to content

Commit 364b032

Browse files
committed
minor symfony#7446 Change type of arguments min and max (apetitpa)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes symfony#7446). Discussion ---------- Change type of arguments min and max Min and max arguments are of type integers but passed as strings in the annotation example. Commits ------- 368c431 Change type of arguments min and max
2 parents 0866fb8 + 368c431 commit 364b032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/Count.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ you might add the following:
3838
{
3939
/**
4040
* @Assert\Count(
41-
* min = "1",
42-
* max = "5",
41+
* min = 1,
42+
* max = 5,
4343
* minMessage = "You must specify at least one email",
4444
* maxMessage = "You cannot specify more than {{ limit }} emails"
4545
* )

0 commit comments

Comments
 (0)