Conditions | 2 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 16 |
Ratio | 100 % |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
48 | View Code Duplication | public function or($expression) |
|
49 | { |
||
50 | $this->prepareOperator('$or'); |
||
51 | |||
52 | $this->queryPartial['$or'] = array_merge( |
||
53 | $this->queryPartial['$or'], |
||
54 | array_map( |
||
55 | function ($expression) { |
||
56 | return $expression instanceof Expression ? $expression->getQueryPartial() : $expression; |
||
57 | }, |
||
58 | func_get_args() |
||
59 | ) |
||
60 | ); |
||
61 | |||
62 | return $this; |
||
63 | } |
||
64 | |||
83 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.