| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class QueryCompatExtension |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param QueryInterface $query |
||
| 15 | * @param $flag |
||
| 16 | * |
||
| 17 | * @return QueryInterface |
||
| 18 | */ |
||
| 19 | public function ignore(QueryInterface $query, $flag = true) |
||
|
|
|||
| 20 | { |
||
| 21 | return $query; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param QueryInterface $query |
||
| 26 | * @param null|array $attributes |
||
| 27 | * |
||
| 28 | * @return int |
||
| 29 | * @throws PrimeException |
||
| 30 | */ |
||
| 31 | #[ReadOperation] |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.