Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
22 | 1 | public function manualMapping($result) |
|
23 | { |
||
24 | 1 | foreach ($result as $ledgerId => $ledger) { |
|
25 | 1 | $this->ledgerInfos[] = new LedgerInfoModel( |
|
26 | 1 | $ledgerId, |
|
27 | 1 | $ledger['refid'], |
|
28 | 1 | $ledger['time'], |
|
29 | 1 | $ledger['type'], |
|
30 | 1 | $ledger['aclass'], |
|
31 | 1 | $ledger['asset'], |
|
32 | 1 | $ledger['amount'], |
|
33 | 1 | $ledger['fee'], |
|
34 | 1 | $ledger['balance'] |
|
35 | 1 | ); |
|
49 |