| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | private function getData(): array |
||
| 52 | { |
||
| 53 | $types = []; |
||
| 54 | foreach ($this->billTypes as $gtype => $category) { |
||
| 55 | $item = []; |
||
| 56 | foreach ($category as $key => $label) { |
||
| 57 | $item[substr($key, strpos($key, ',') + 1)] = $label; |
||
| 58 | } |
||
| 59 | $types[$gtype] = $item; |
||
| 60 | } |
||
| 61 | return $types; |
||
| 62 | } |
||
| 63 | } |
||
| 64 |