Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 2d0a49a

Browse files
committed
chore: more specific allowed value types for constraint
1 parent e705a79 commit 2d0a49a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/03-rules-greater-than.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Validator::greaterThan(new DateTime('today'))->validate(new DateTime('tomorrow')
2424

2525
type: `mixed` `required`
2626

27-
It defines the comparison/minimum value. Can be a string, number or `DateTimeInterface` object.
27+
It defines the comparison/minimum value. Can be a `string`, `int`, `float` or `DateTimeInterface` object.
2828

2929
### `message`
3030

0 commit comments

Comments
 (0)