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