PHPCS passing for class-wc-order-item-type-data-store-interface.php

This commit is contained in:
Gerhard Potgieter 2018-03-06 11:45:29 +02:00
parent 1a2b44f2d3
commit 7cd7b18bb3
1 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,11 @@
<?php
/**
* Order Item Type Data Store Interface
*
* @version 3.0.0
* @package WooCommerce/Interface
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
@ -9,15 +16,13 @@ if ( ! defined( 'ABSPATH' ) ) {
* Functions that must be defined by order item store classes.
*
* @version 3.0.0
* @category Interface
* @author WooCommerce
*/
interface WC_Order_Item_Type_Data_Store_Interface {
/**
* Saves an item's data to the database / item meta.
* Ran after both create and update, so $item->get_id() will be set.
*
* @param WC_Order_Item $item
* @param WC_Order_Item $item Item object.
*/
public function save_item_data( &$item );
}