| @@ -29,11 +29,9 @@ | ||
| 29 | 29 | * Cron_Integration constructor |
| 30 | 30 | * |
| 31 | 31 | * @param Date_Helper $date_helper The date helper. |
| 32 | 32 | */ |
| 33 | - public function __construct( | |
| 34 | - Date_Helper $date_helper | |
| 35 | - ) { | |
| 33 | + public function __construct( Date_Helper $date_helper ) { | |
| 36 | 34 | $this->date_helper = $date_helper; |
| 37 | 35 | } |
| 38 | 36 | |
| 39 | 37 | /** |
| @@ -43,9 +41,9 @@ | ||
| 43 | 41 | if ( ! \wp_next_scheduled( Indexing_Notification_Integration::NOTIFICATION_ID ) ) { |
| 44 | 42 | \wp_schedule_event( |
| 45 | 43 | $this->date_helper->current_time(), |
| 46 | 44 | 'daily', |
| 47 | - Indexing_Notification_Integration::NOTIFICATION_ID | |
| 45 | + Indexing_Notification_Integration::NOTIFICATION_ID, | |
| 48 | 46 | ); |
| 49 | 47 | } |
| 50 | 48 | } |
| 51 | 49 | } |