| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 5 | protected function compileGroups(Builder $builder, array $groups) |
|
| 17 | { |
||
| 18 | 5 | $aqlGroups = []; |
|
| 19 | 5 | foreach ($groups as $key => $group) { |
|
| 20 | 5 | $aqlGroups[$key][0] = $group; |
|
| 21 | 5 | $aqlGroups[$key][1] = 'characterDoc.' . $group; |
|
| 22 | } |
||
| 23 | |||
| 24 | 5 | $builder->aqb = $builder->aqb->collect($aqlGroups); |
|
| 25 | |||
| 26 | 5 | return $builder; |
|
| 27 | } |
||
| 40 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.