| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class NotFilter implements FilterInterface |
||
| 7 | { |
||
| 8 | protected FilterInterface $filter; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * NotFilter constructor. |
||
| 12 | * |
||
| 13 | * @param \Level23\Druid\Filters\FilterInterface $filter |
||
| 14 | */ |
||
| 15 | 8 | public function __construct(FilterInterface $filter) |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Return the filter as it can be used in the druid query. |
||
| 22 | * |
||
| 23 | * @return array<string,string|array<string,string|int|bool|array<mixed>>> |
||
| 24 | */ |
||
| 25 | 4 | public function toArray(): array |
|
| 32 | } |