| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class NullFilter implements FilterInterface |
||
| 13 | { |
||
| 14 | protected string $column; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * NullFilter constructor. |
||
| 18 | * |
||
| 19 | * @param string $column Input column or virtual column name to filter. |
||
| 20 | */ |
||
| 21 | 1 | public function __construct(string $column) |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Return the filter as it can be used in the druid query. |
||
| 28 | * |
||
| 29 | * @return array<string,string|array<string,string|int|bool|array<mixed>>> |
||
| 30 | */ |
||
| 31 | 1 | public function toArray(): array |
|
| 38 | } |