Skip to content

Commit 368c431

Browse files
apetitpaxabbuh
authored andcommitted
Change type of arguments min and max
Min and max arguments are type of integer but given as strings in the annotation example.
1 parent 0866fb8 commit 368c431

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)