| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | 14 | private static function _v(&$arr, array $keys, Closure $filter, $i = 0) |
|
| 25 | { |
||
| 26 | 14 | if (empty($keys[$i])) { |
|
| 27 | 14 | $arr = $filter($arr); |
|
| 28 | 14 | return; |
|
| 29 | } |
||
| 30 | |||
| 31 | 14 | $currKey = $keys[$i]; |
|
| 32 | |||
| 33 | 14 | if ($currKey === '*') { |
|
| 34 | 10 | self::_h($arr, $keys, $filter, $i); |
|
| 35 | } else { |
||
| 36 | 14 | self::_v($arr[$currKey], $keys, $filter, $i + 1); |
|
| 37 | } |
||
| 46 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.