Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ The policy also has short-cut helpers for creating constraints:

* `atLeast($n)`: At least the param matches

Equivilant to `between($n, PHP_INT_MAX)`
Equivalent to `between($n, PHP_INT_MAX)`

* `atMost($n)`: At most the param matches

Equivilant to `between(0, $n)`
Equivalent to `between(0, $n)`

* `between($min, $max)`: Between $min and $max number of matches

* `never()`: No matches

Equivilant to `between(0, 0)`
Equivalent to `between(0, 0)`

## Testing the policy

Expand Down