Lines
0.00%
0 / 4
Methods
0.00%
0 / 1
Classes
0.00%
0 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| describeOutcome | 0.00% | 0 / 4 | 0.00% | 0 / 1 | 20 | ||
| 7 | enum ReloadOutcome: string | |
| 8 | { | |
| 9 | case Applied = 'applied'; | |
| 10 | case PartlyApplied = 'partly_applied'; | |
| 11 | case Failed = 'failed'; | |
| 12 | ||
| 13 | public function describeOutcome(): string | |
| 14 | { | |
| 15 | return match ($this) { | |
| 16 | self::Applied => 'applied', | |
| 17 | self::PartlyApplied => 'partly applied', | |
| 18 | self::Failed => 'failed', | |
| 19 | }; | |
| 20 | } | |
| 21 | } |