| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | 1 | public function getDescription(): string |
|
| 19 | { |
||
| 20 | 1 | return match ($this) { |
|
| 21 | 1 | self::Householder => 'Chef(e) de famille', |
|
| 22 | 1 | self::Partner => 'Conjoint', |
|
| 23 | 1 | self::Child => 'Enfant', |
|
| 24 | 1 | self::Parent => 'Parent', |
|
| 25 | 1 | self::Sister => 'Soeur', |
|
| 26 | 1 | self::Brother => 'Frère', |
|
| 27 | 1 | }; |
|
| 30 |