diff --git a/src/Illuminate/Console/Enums/ScheduleOn.php b/src/Illuminate/Console/Enums/ScheduleOn.php index c5a9c702941..e53e07aae39 100644 --- a/src/Illuminate/Console/Enums/ScheduleOn.php +++ b/src/Illuminate/Console/Enums/ScheduleOn.php @@ -4,17 +4,17 @@ enum ScheduleOn: int { - case SUNDAY = 0; + case Sunday = 0; - case MONDAY = 1; + case Monday = 1; - case TUESDAY = 2; + case Tuesday = 2; - case WEDNESDAY = 3; + case Wednesday = 3; - case THURSDAY = 4; + case Thursday = 4; - case FRIDAY = 5; + case Friday = 5; - case SATURDAY = 6; + case Saturday = 6; } diff --git a/src/Illuminate/Console/Scheduling/Schedule.php b/src/Illuminate/Console/Scheduling/Schedule.php index 80c8d4596fb..828a1816302 100644 --- a/src/Illuminate/Console/Scheduling/Schedule.php +++ b/src/Illuminate/Console/Scheduling/Schedule.php @@ -30,25 +30,25 @@ class Schedule } /** @deprecated Use \Illuminate\Console\Enums\ScheduleOn::SUNDAY instead */ - const SUNDAY = ScheduleOn::SUNDAY; + const SUNDAY = ScheduleOn::Sunday; /** @deprecated Use \Illuminate\Console\Enums\ScheduleOn::MONDAY instead */ - const MONDAY = ScheduleOn::MONDAY; + const MONDAY = ScheduleOn::Monday; /** @deprecated Use \Illuminate\Console\Enums\ScheduleOn::TUESDAY instead */ - const TUESDAY = ScheduleOn::TUESDAY; + const TUESDAY = ScheduleOn::Tuesday; /** @deprecated Use \Illuminate\Console\Enums\ScheduleOn::WEDNESDAY instead */ - const WEDNESDAY = ScheduleOn::WEDNESDAY; + const WEDNESDAY = ScheduleOn::Wednesday; /** @deprecated Use \Illuminate\Console\Enums\ScheduleOn::THURSDAY instead */ - const THURSDAY = ScheduleOn::THURSDAY; + const THURSDAY = ScheduleOn::Thursday; /** @deprecated Use \Illuminate\Console\Enums\ScheduleOn::FRIDAY instead */ - const FRIDAY = ScheduleOn::FRIDAY; + const FRIDAY = ScheduleOn::Friday; /** @deprecated Use \Illuminate\Console\Enums\ScheduleOn::SATURDAY instead */ - const SATURDAY = ScheduleOn::SATURDAY; + const SATURDAY = ScheduleOn::Saturday; /** * All of the events on the schedule.