File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ private function initialStartTimeCompute(): int
105105 $ dayCalendar = $ this ->getDayCalendar ($ this ->ISTS );
106106
107107 $ initialScheduleDate = date (self ::SCHEDULER_DATE_FORMAT , $ this ->ISTS );
108- if ($ this ->computeDirection === ComputeDirection::Forward ) {
108+ if ($ this ->computeDirection === 1 ) {
109109 if (empty ($ dayCalendar )) {
110110 $ dayCalendarStartTime = $ this ->getDayCalendarStartTime ($ this ->defaultDayCalendar );
111111
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ trait SchedulerConfigTrait
2828 public string $ ISDT = '' ;
2929 // Initial schedule timestamp
3030 public int $ ISTS = 0 ;
31- public ComputeDirection $ computeDirection = ComputeDirection::Forward ;
31+ public int $ computeDirection = 1 ;
3232 public bool $ isUseCalendar = false ;
3333 public bool $ isUseTPMCalendar = false ;
3434 // is use multiple shifts compute
You can’t perform that action at this time.
0 commit comments