Conditions | 5 |
Paths | 5 |
Total Lines | 12 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function displayChamber(): string { |
||
22 | switch ($this->chamber) { |
||
23 | case 'house-of-commons': |
||
24 | return 'House of Commons'; |
||
25 | case 'welsh-parliament': |
||
26 | return 'Senedd'; |
||
27 | case 'scottish-parliament': |
||
28 | return 'Scottish Parliament'; |
||
29 | case 'northern-ireland-assembly': |
||
30 | return 'Northern Ireland Assembly'; |
||
31 | default: |
||
32 | return 'Unknown Chamber'; |
||
33 | } |
||
37 |