Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class IsEmpty extends AbstractQuery |
||
12 | { |
||
13 | /** |
||
14 | * @var QueryInterface |
||
15 | */ |
||
16 | private $query; |
||
17 | |||
18 | public function __construct(RethinkInterface $rethink, QueryInterface $query) |
||
19 | { |
||
20 | parent::__construct($rethink); |
||
21 | |||
22 | $this->query = $query; |
||
23 | $this->rethink = $rethink; |
||
24 | } |
||
25 | |||
26 | public function toArray(): array |
||
32 | ], |
||
33 | ]; |
||
36 |