Fixed class hierarchy in REST API v2

This commit is contained in:
Claudio Sanches 2018-05-17 12:11:56 +01:00
parent 2c2861bdd0
commit aa2b424c21
3 changed files with 6 additions and 6 deletions

View File

@ -14,9 +14,9 @@ defined( 'ABSPATH' ) || exit;
* REST API Network Orders controller class. * REST API Network Orders controller class.
* *
* @package WooCommerce/API * @package WooCommerce/API
* @extends WC_REST_Orders_Controller * @extends WC_REST_Orders_V2_Controller
*/ */
class WC_REST_Network_Orders_V2_Controller extends WC_REST_Orders_Controller { class WC_REST_Network_Orders_V2_Controller extends WC_REST_Orders_V2_Controller {
/** /**
* Endpoint namespace. * Endpoint namespace.

View File

@ -14,9 +14,9 @@ defined( 'ABSPATH' ) || exit;
* REST API Order Refunds controller class. * REST API Order Refunds controller class.
* *
* @package WooCommerce/API * @package WooCommerce/API
* @extends WC_REST_Orders_Controller * @extends WC_REST_Orders_V2_Controller
*/ */
class WC_REST_Order_Refunds_V2_Controller extends WC_REST_Orders_Controller { class WC_REST_Order_Refunds_V2_Controller extends WC_REST_Orders_V2_Controller {
/** /**
* Endpoint namespace. * Endpoint namespace.

View File

@ -14,9 +14,9 @@ defined( 'ABSPATH' ) || exit;
* REST API variations controller class. * REST API variations controller class.
* *
* @package WooCommerce/API * @package WooCommerce/API
* @extends WC_REST_Products_Controller * @extends WC_REST_Products_V2_Controller
*/ */
class WC_REST_Product_Variations_V2_Controller extends WC_REST_Products_Controller { class WC_REST_Product_Variations_V2_Controller extends WC_REST_Products_V2_Controller {
/** /**
* Endpoint namespace. * Endpoint namespace.