From eefe38ecbe4f88ab840c12df8a0b6f4aaa72200b Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Tue, 12 Sep 2017 22:28:13 -0700 Subject: [PATCH] PHPCS fixes --- includes/class-main.php | 1 + includes/class-move-to-trash.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/class-main.php b/includes/class-main.php index 2597d9b..1a47732 100644 --- a/includes/class-main.php +++ b/includes/class-main.php @@ -202,6 +202,7 @@ class Main { } /** + * Retrieve timestamp for next scheduled event with given vars * * @param object $vars Bulk-request variables. * @return int diff --git a/includes/class-move-to-trash.php b/includes/class-move-to-trash.php index d137aea..edcd11e 100644 --- a/includes/class-move-to-trash.php +++ b/includes/class-move-to-trash.php @@ -150,7 +150,7 @@ class Move_To_Trash { $post__not_in = self::get_post_ids_pending_move( $q->get( 'post_type' ), $q->get( 'post_status' ) ); if ( ! empty( $post__not_in ) ) { - $post__not_in = implode(',', $post__not_in ); + $post__not_in = implode( ',', $post__not_in ); $where .= ' AND ID NOT IN(' . $post__not_in . ')'; } -- GitLab