Conditions | 3 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
23 | public function getSEPAAccountsArray() |
||
24 | { |
||
25 | $accounts = $this->findSegment(static::SEG_ACCOUNT_INFORMATION); |
||
26 | |||
27 | if (is_string($accounts)) { |
||
28 | $accounts = $this->splitSegment($accounts); |
||
29 | array_shift($accounts); |
||
30 | foreach ($accounts as $account) { |
||
31 | $array = $this->splitDeg($account); |
||
32 | $this->accounts[] = $this->createModelFromArray($array); |
||
33 | } |
||
34 | } |
||
35 | |||
36 | return $this->accounts; |
||
37 | } |
||
38 | |||
57 |