From 37df1ef32e769d3b8747905b0fcf18b85fed3ee8 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Tue, 9 Apr 2024 00:40:33 +0530 Subject: [PATCH] Reformat a bit differently --- includes/EventManager.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/EventManager.php b/includes/EventManager.php index d7620be..7289285 100644 --- a/includes/EventManager.php +++ b/includes/EventManager.php @@ -98,10 +98,9 @@ public function rest_api_init() { * @return array */ public function add_minutely_schedule( $schedules ) { - if ( ! array_key_exists( - 'minutely', - $schedules - ) || MINUTE_IN_SECONDS !== $schedules['minutely']['interval'] ) { + if ( ! array_key_exists( 'minutely', $schedules ) || + MINUTE_IN_SECONDS !== $schedules['minutely']['interval'] + ) { $schedules['minutely'] = array( 'interval' => MINUTE_IN_SECONDS, 'display' => __( 'Once Every Minute' ),