| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 5 | enum ClientStatus: string |
||
| 6 | { |
||
| 7 | case ACTION_PENDING = 'Action pending'; |
||
| 8 | case IN_CARE = 'In care'; |
||
| 9 | case HELPED = 'Helped'; |
||
| 10 | case CANNOT_HELP = 'Cannot help'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Get the enum case name that can be displayed by the frontend. |
||
| 14 | * |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | 14 | public function getDisplayName(): string |
|
| 27 |