Skip to content

Commit 188f7d2

Browse files
committed
the "max" option can be zero
1 parent 0114282 commit 188f7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)