Add space between switch and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 12:54:08 +01:00
committed by M. Shull
parent ebbdec5ebd
commit a8972ca281
27 changed files with 43 additions and 43 deletions

View File

@@ -193,7 +193,7 @@ class Scheduler {
$nth_week_day = ($newsletter->nthWeekDay === self::LAST_WEEKDAY_FORMAT) ?
$newsletter->nthWeekDay :
'#' . $newsletter->nthWeekDay;
switch($interval_type) {
switch ($interval_type) {
case self::INTERVAL_IMMEDIATE:
case self::INTERVAL_DAILY:
$schedule = sprintf('0 %s * * *', $hour);
@@ -255,7 +255,7 @@ class Scheduler {
static function getScheduledTimeWithDelay($after_time_type, $after_time_number) {
$wp = new WPFunctions();
$current_time = Carbon::createFromTimestamp($wp->currentTime('timestamp'));
switch($after_time_type) {
switch ($after_time_type) {
case 'hours':
return $current_time->addHours($after_time_number);
case 'days':