Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit364b032

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 maxMin 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 parents0866fb8 +368c431 commit364b032

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)

[8]ページ先頭

©2009-2025 Movatter.jp