| Total Complexity | 9 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | #[Attribute] |
||
| 10 | class BetweenExclusive implements Rule |
||
| 11 | { |
||
| 12 | 1 | public function __construct(private float|int $largerThan, private float|int $smallerThan){} |
|
| 13 | |||
| 14 | 1 | public function applicableToTypes(): array |
|
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param int|float|string|mixed[] $value |
||
| 21 | */ |
||
| 22 | 1 | public function isValid(mixed $value): bool |
|
| 37 | } |
||
| 38 | |||
| 39 | 1 | public function getMessage(): string |
|
| 44 |