Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
61 | protected static function processObject(object $object) : object { |
||
62 | /** @var Team $team */ |
||
63 | $team = $object->object; |
||
64 | $object->scores = array_map(static function(array $group) { |
||
65 | unset($group['group']); // Get rid of the Group object reference |
||
66 | return $group; |
||
67 | }, $team->getGroupResults()); |
||
68 | return $object; |
||
69 | } |
||
70 | } |