| Conditions | 3 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 1 | public function onPlayerManialinkPageAnswer($playerUid, $login, $actionId, array $entries) |
|
|
|
|||
| 18 | { |
||
| 19 | 1 | $entryValues = array(); |
|
| 20 | 1 | if (count($entries)) |
|
| 21 | { |
||
| 22 | 1 | foreach ($entries as $entry) { |
|
| 23 | 1 | $entryValues[$entry['Name']] = $entry['Value']; |
|
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 27 | 1 | $this->dispatch(__FUNCTION__, [$login, $actionId, $entryValues]); |
|
| 28 | 1 | } |
|
| 29 | } |
||
| 30 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.