Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class RemoveClause extends Clause |
||
11 | { |
||
12 | /** |
||
13 | * @var object|string|mixed[] $document |
||
14 | */ |
||
15 | protected array|object|string $document; |
||
16 | |||
17 | protected string|QueryBuilder|Expression $collection; |
||
18 | |||
19 | /** |
||
20 | * @param array<mixed>|object|string $document |
||
21 | */ |
||
22 | 2 | public function __construct( |
|
23 | array|object|string $document, |
||
24 | string|QueryBuilder|Expression $collection |
||
25 | ) { |
||
26 | 2 | parent::__construct(); |
|
27 | |||
28 | 2 | $this->document = $document; |
|
29 | 2 | $this->collection = $collection; |
|
30 | } |
||
31 | |||
32 | 2 | public function compile(QueryBuilder $queryBuilder): string |
|
42 | } |
||
43 | } |
||
44 |