| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 59 | public function toArray(): array |
||
| 60 | { |
||
| 61 | return array_values(array_map( |
||
| 62 | function (Result $result) { |
||
| 63 | return array_merge( |
||
| 64 | $result->toArray(), |
||
| 65 | [$result->getScore($this->maxCommits(), $this->maxComplexity())] |
||
| 66 | ); |
||
| 67 | }, |
||
| 68 | $this->items |
||
| 69 | )); |
||
| 70 | } |
||
| 71 | } |
||
| 72 |