Fixed class hierarchy in REST API v2
This commit is contained in:
parent
2c2861bdd0
commit
aa2b424c21
|
@ -14,9 +14,9 @@ defined( 'ABSPATH' ) || exit;
|
|||
* REST API Network Orders controller class.
|
||||
*
|
||||
* @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.
|
||||
|
|
|
@ -14,9 +14,9 @@ defined( 'ABSPATH' ) || exit;
|
|||
* REST API Order Refunds controller class.
|
||||
*
|
||||
* @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.
|
||||
|
|
|
@ -14,9 +14,9 @@ defined( 'ABSPATH' ) || exit;
|
|||
* REST API variations controller class.
|
||||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue