Total Complexity | 1 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | final class IsLessThan extends Compare implements Validation |
||
12 | { |
||
13 | public const MESSAGE = 'is-less-than.not-less-than'; |
||
14 | |||
15 | /** |
||
16 | * @template T |
||
17 | * @psalm-param T $data |
||
18 | * @param mixed $data |
||
19 | * @param array $context |
||
20 | * @return ValidationResult |
||
21 | */ |
||
22 | public function validate($data, array $context = []): ValidationResult |
||
37 |