Skip to content

Commit

Permalink
Fix Linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy committed Jun 3, 2022
1 parent ce9be03 commit d2fb9c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/classes/Indexable.php
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ public function build_meta_query( $meta_queries ) {
$compare = '=';
if ( ! empty( $single_meta_query['compare'] ) ) {
$compare = strtolower( $single_meta_query['compare'] );
} elseif( ! isset( $single_meta_query['value'] ) ) {
} elseif ( ! isset( $single_meta_query['value'] ) ) {
$compare = 'exists';
}

Expand Down
2 changes: 1 addition & 1 deletion includes/classes/Indexable/Post/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ public function format_args( $args, $wp_query ) {

if ( isset( $args['meta_value'] ) ) {
$meta_query_array['value'] = $args['meta_value'];
} elseif( isset( $args['meta_value_num'] ) ) {
} elseif ( isset( $args['meta_value_num'] ) ) {
$meta_query_array['value'] = $args['meta_value_num'];
}

Expand Down

0 comments on commit d2fb9c1

Please sign in to comment.