Fix types with annotations [MAILPOET-2488]
This commit is contained in:
@@ -55,6 +55,7 @@ class SimpleWorkerTest extends \MailPoetTest {
|
||||
|
||||
public function testItCalculatesNextRunDateWithinNextWeekBoundaries() {
|
||||
$current_date = Carbon::createFromTimestamp(WPFunctions::get()->currentTime('timestamp'));
|
||||
/** @var Carbon $next_run_date */
|
||||
$next_run_date = (new MockSimpleWorker())->getNextRunDate();
|
||||
$difference = $next_run_date->diffInDays($current_date);
|
||||
// Subtract days left in the current week
|
||||
|
Reference in New Issue
Block a user