Skip to content

Commit

Permalink
Reformat a bit differently
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Apr 8, 2024
1 parent ab68555 commit 37df1ef
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions includes/EventManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ),
Expand Down

0 comments on commit 37df1ef

Please sign in to comment.