| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | abstract class Compare implements FilterInterface |
||
| 11 | { |
||
| 12 | private bool|\DateTimeInterface|float|int|string $value; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param bool|DateTimeInterface|float|int|string $value |
||
| 16 | */ |
||
| 17 | 88 | public function __construct(private string $field, $value) |
|
| 21 | } |
||
| 22 | |||
| 23 | 52 | public function toArray(): array |
|
| 28 |