Total Complexity | 1 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | final class Weekday extends Enum |
||
22 | { |
||
23 | const MONDAY = 'Monday'; |
||
24 | const TUESDAY = 'Tuesday'; |
||
25 | const WEDNESDAY = 'Wednesday'; |
||
26 | const THURSDAY = 'Thursday'; |
||
27 | const FRIDAY = 'Friday'; |
||
28 | const SATURDAY = 'Saturday'; |
||
29 | const SUNDAY = 'Sunday'; |
||
30 | |||
31 | /** |
||
32 | * Returns the type of this enum |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | 9 | final public static function getType(): string |
|
41 |