Skip to content

Commit ca65006

Browse files
authored
Update scheduler.rst
The while was missing a parenthesis and the negation of the condition needs to be removed for it to work as expected.
1 parent 6ed13cc commit ca65006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ For example, if you want to send customer reports daily except for holiday perio
320320
}
321321

322322
// loop until you get the next run date that is not a holiday
323-
while (!$this->isHoliday($nextRun) {
323+
while ($this->isHoliday($nextRun)) {
324324
$nextRun = $this->inner->getNextRunDate($nextRun);
325325
}
326326

0 commit comments

Comments
 (0)