Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
52 | 1 | public function onGroupSelected(Response $response) |
|
53 | { |
||
54 | 1 | return array_combine(['count', 'first', 'last', 'name'], explode(' ', $response->getMessage())); |
|
55 | } |
||
56 | |||
57 | 1 | public function onNoSuchGroup(Response $response) |
|
|
|||
58 | { |
||
59 | 1 | throw new RuntimeException(sprintf('A group with name %s does not exists on server', $this->group)); |
|
62 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.