1111
1212use GraphQL \Type \Definition \ResolveInfo ;
1313use WPGraphQL \AppContext ;
14- use WPGraphQL \WooCommerce \WP_GraphQL_WooCommerce ;
1514use WPGraphQL \Data \Connection \PostObjectConnectionResolver ;
15+ use WPGraphQL \WooCommerce \WP_GraphQL_WooCommerce ;
1616
1717/**
1818 * Class - Products
@@ -379,9 +379,9 @@ public static function get_connection_config( $args = [] ): array {
379379 /**
380380 * Bypass arg sanization in Post Object Connection Resolver.
381381 *
382- * @param array $args Sanitized GraphQL args passed to the resolver.
383- * @param PostObjectConnectionResolver $connection_resolver Instance of the ConnectionResolver.
384- * @param array $all_args array of arguments input in the field as part of the GraphQL query.
382+ * @param array $args Sanitized GraphQL args passed to the resolver.
383+ * @param \WPGraphQL\Data\Connection\ PostObjectConnectionResolver $connection_resolver Instance of the ConnectionResolver.
384+ * @param array $all_args array of arguments input in the field as part of the GraphQL query.
385385
386386 * @return array
387387 */
@@ -392,10 +392,10 @@ public static function bypass_get_args_sanitization( $args, $connection_resolver
392392 /**
393393 * Undocumented function
394394 *
395- * @param PostObjectConnectionResolver $resolver Connection resolver instance.
396- * @param array $args Connection provided args.
395+ * @param \WPGraphQL\Data\Connection\ PostObjectConnectionResolver $resolver Connection resolver instance.
396+ * @param array $args Connection provided args.
397397 *
398- * @return PostObjectConnectionResolver
398+ * @return \WPGraphQL\Data\Connection\ PostObjectConnectionResolver
399399 */
400400 public static function set_ordering_query_args ( $ resolver , $ args ) {
401401 $ backward = isset ( $ args ['last ' ] ) ? true : false ;
@@ -578,13 +578,13 @@ public static function get_connection_args(): array {
578578 * This allows plugins/themes to hook in and alter what $args should be allowed to be passed
579579 * from a GraphQL Query to the WP_Query
580580 *
581- * @param array $query_args The mapped query arguments.
582- * @param array $args Query "where" args.
583- * @param mixed $source The query results for a query calling this.
584- * @param array $all_args All of the arguments for the query (not just the "where" args).
585- * @param AppContext $context The AppContext object.
586- * @param ResolveInfo $info The ResolveInfo object.
587- * @param mixed|string|array $post_type The post type for the query.
581+ * @param array $query_args The mapped query arguments.
582+ * @param array $args Query "where" args.
583+ * @param mixed $source The query results for a query calling this.
584+ * @param array $all_args All of the arguments for the query (not just the "where" args).
585+ * @param \WPGraphQL\ AppContext $context The AppContext object.
586+ * @param \GraphQL\Type\Definition\ ResolveInfo $info The ResolveInfo object.
587+ * @param mixed|string|array $post_type The post type for the query.
588588 *
589589 * @return array Query arguments.
590590 */
@@ -882,8 +882,8 @@ public static function map_input_fields_to_wp_query( $query_args, $args, $source
882882 * @param array $where_args Query "where" args
883883 * @param mixed $source The query results for a query calling this
884884 * @param array $all_args All of the arguments for the query (not just the "where" args)
885- * @param AppContext $context The AppContext object
886- * @param ResolveInfo $info The ResolveInfo object
885+ * @param \WPGraphQL\ AppContext $context The AppContext object
886+ * @param \GraphQL\Type\Definition\ ResolveInfo $info The ResolveInfo object
887887 * @param mixed|string|array $post_type The post type for the query
888888 */
889889 $ query_args = apply_filters_deprecated (
0 commit comments