Conditions | 4 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 4 |
Changes | 0 |
1 | <?php |
||
26 | 3 | public function manualMapping($result) |
|
27 | { |
||
28 | 3 | $this->last = $result["last"]; |
|
29 | 3 | foreach ($result as $assetPair => $assetData) { |
|
30 | 3 | if ($assetPair == "last") { |
|
31 | 3 | continue; |
|
32 | } |
||
33 | 3 | foreach ($assetData as $data) { |
|
34 | 3 | $this->spreads[] = new SpreadDataModel($data[0], $data[1], $data[2]); |
|
35 | 3 | } |
|
55 |