| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | 27 | public function legislatures() |
|
| 46 | { |
||
| 47 | 27 | $legislatures = []; |
|
| 48 | 27 | $legislaturesData = $this->countryData['legislatures']; |
|
| 49 | 27 | foreach ($legislaturesData as $legislatureData) { |
|
| 50 | 27 | $legislatures[] = new Legislature($legislatureData, $this); |
|
| 51 | 9 | } |
|
| 52 | 27 | return $legislatures; |
|
| 53 | } |
||
| 54 | /** |
||
| 71 |