PSR-4 ify the WC_Admin_Order_Trait class.

This commit is contained in:
Jeff Stieler 2019-07-31 11:42:21 -06:00
parent 8602c03671
commit 24555e0e02
3 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,7 @@ class WC_Admin_Order extends \WC_Order {
/**
* Order traits.
*/
use \WC_Admin_Order_Trait;
use \Automattic\WooCommerce\Admin\WC_Admin_Order_Trait;
/**
* Holds refund amounts and quantities for the order.

View File

@ -18,7 +18,7 @@ class WC_Admin_Order_Refund extends \WC_Order_Refund {
/**
* Order traits.
*/
use \WC_Admin_Order_Trait;
use \Automattic\WooCommerce\Admin\WC_Admin_Order_Trait;
/**
* Add filter(s) required to hook WC_Admin_Order_Refund class to substitute WC_Order_Refund.

View File

@ -7,6 +7,8 @@
* @package WooCommerce Admin/Classes
*/
namespace Automattic\WooCommerce\Admin;
defined( 'ABSPATH' ) || exit;
/**