Skip to content

Commit 364b032

Browse files
committed
minor #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 #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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy