Skip to content

Commit

Permalink
Merge pull request #3006 from justlevine/fix/replace-deprecated-setQu…
Browse files Browse the repository at this point in the history
…eryArg

fix: replace deprecated `AbstractConnectionResolver::setQueryArg()` call with `::set_query_arg()`
  • Loading branch information
jasonbahl authored Jan 23, 2024
2 parents 3d3d723 + a3510a4 commit fa56cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/Connection/Taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function register_connections() {
return null;
}
$resolver = new TaxonomyConnectionResolver( $source, $args, $context, $info );
$resolver->setQueryArg( 'in', $source->taxonomies );
$resolver->set_query_arg( 'in', $source->taxonomies );
return $resolver->get_connection();
},
]
Expand Down

0 comments on commit fa56cf1

Please sign in to comment.