Skip to content

Commit 47c2d0b

Browse files
committed
- phpcs
1 parent d69ba7a commit 47c2d0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Registry/Utils/TermObject.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ protected static function get_connections( WP_Taxonomy $tax_object ) {
229229
'toType' => $post_type_object->graphql_single_name,
230230
'queryClass' => 'WP_Query',
231231
'resolve' => static function ( Term $term, $args, AppContext $context, ResolveInfo $info ) use ( $post_type_object ) {
232-
$resolver = new PostObjectConnectionResolver( $term, $args, $context, $info, $post_type_object->name );
232+
$resolver = new PostObjectConnectionResolver( $term, $args, $context, $info, $post_type_object->name );
233233
$current_args = $resolver->get_query_args();
234-
$tax_query = $current_args['tax_query'] ?? [];
235-
$tax_query[] = [
234+
$tax_query = $current_args['tax_query'] ?? [];
235+
$tax_query[] = [
236236
'taxonomy' => $term->taxonomyName,
237237
'terms' => [ $term->term_id ],
238238
'field' => 'term_id',

0 commit comments

Comments
 (0)