Upgrade PHPStan level to 5
[MAILPOET-1915]
This commit is contained in:
@@ -116,7 +116,7 @@ abstract class SimpleWorker {
|
||||
$wp = new WPFunctions();
|
||||
$date = Carbon::createFromTimestamp($wp->currentTime('timestamp'));
|
||||
// Random day of the next week
|
||||
$date->setISODate($date->format('o'), ((int)$date->format('W')) + 1, mt_rand(1, 7));
|
||||
$date->setISODate((int)$date->format('o'), ((int)$date->format('W')) + 1, mt_rand(1, 7));
|
||||
$date->startOfDay();
|
||||
return $date;
|
||||
}
|
||||
|
Reference in New Issue
Block a user