| Conditions | 2 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 16 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 26 | View Code Duplication | public function and($expression) |
|
| 27 | { |
||
| 28 | $this->prepareOperator('$and'); |
||
| 29 | |||
| 30 | $this->queryPartial['$and'] = array_merge( |
||
| 31 | $this->queryPartial['$and'], |
||
| 32 | array_map( |
||
| 33 | function ($expression) { |
||
| 34 | return $expression instanceof Expression ? $expression->getQueryPartial() : $expression; |
||
| 35 | }, |
||
| 36 | func_get_args() |
||
| 37 | ) |
||
| 38 | ); |
||
| 39 | |||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | |||
| 83 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.