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