phpcs fixes in includes/data-stores/class-wc-order-item-coupon-data-store.php
This commit is contained in:
parent
231328e112
commit
1e32f09560
|
@ -1,4 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Class WC_Order_Item_Coupon_Data_Store file.
|
||||
*
|
||||
* @package WooCommerce\DataStores
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
@ -7,8 +13,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
* WC Order Item Coupon Data Store
|
||||
*
|
||||
* @version 3.0.0
|
||||
* @category Class
|
||||
* @author WooCommerce
|
||||
*/
|
||||
class WC_Order_Item_Coupon_Data_Store extends Abstract_WC_Order_Item_Type_Data_Store implements WC_Object_Data_Store_Interface, WC_Order_Item_Type_Data_Store_Interface {
|
||||
|
||||
|
@ -24,7 +28,7 @@ class WC_Order_Item_Coupon_Data_Store extends Abstract_WC_Order_Item_Type_Data_S
|
|||
* Read/populate data properties specific to this order item.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @param WC_Order_Item_Coupon $item
|
||||
* @param WC_Order_Item_Coupon $item Coupon order item.
|
||||
*/
|
||||
public function read( &$item ) {
|
||||
parent::read( $item );
|
||||
|
@ -43,7 +47,7 @@ class WC_Order_Item_Coupon_Data_Store extends Abstract_WC_Order_Item_Type_Data_S
|
|||
* Ran after both create and update, so $item->get_id() will be set.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @param WC_Order_Item_Coupon $item
|
||||
* @param WC_Order_Item_Coupon $item Coupon order item.
|
||||
*/
|
||||
public function save_item_data( &$item ) {
|
||||
$id = $item->get_id();
|
||||
|
|
Loading…
Reference in New Issue