WC_Discounts|set_items_from_order Param Type Fix

This commit is contained in:
Khan M Rashedun-Naby 2018-06-06 01:01:39 +06:00
parent 839d52d153
commit 9310970938
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class WC_Discounts {
* Normalise order items which will be discounted.
*
* @since 3.2.0
* @param array $order Cart object.
* @param WC_Order $order Order object.
*/
public function set_items_from_order( $order ) {
$this->items = array();