Skip to content

Commit 52e2229

Browse files
committed
wip
1 parent a670437 commit 52e2229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Console/Scheduling/ScheduleListCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private function sortEvents(\Illuminate\Support\Collection $events, DateTimeZone
175175
*/
176176
private function getNextDueDateForEvent($event, DateTimeZone $timezone)
177177
{
178-
return Carbon::create(
178+
return Carbon::instance(
179179
(new CronExpression($event->expression))
180180
->getNextRunDate(Carbon::now()->setTimezone($event->timezone))
181181
->setTimezone($timezone)

0 commit comments

Comments
 (0)