Skip to content

Commit a5d95be

Browse files
committed
the "max" option can be zero
1 parent 909cb59 commit a5d95be

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/Count.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Count extends Constraint
4545
/**
4646
* @param int<0, max>|array<string,mixed>|null $exactly The exact expected number of elements
4747
* @param int<0, max>|null $min Minimum expected number of elements
48-
* @param positive-int|null $max Maximum expected number of elements
48+
* @param int<0, max>|null $max Maximum expected number of elements
4949
* @param positive-int|null $divisibleBy The number the collection count should be divisible by
5050
* @param string[]|null $groups
5151
* @param array<mixed,string> $options

0 commit comments

Comments
 (0)