Fixed includes/class-wc-discounts.php PHPCS violations

This commit is contained in:
Claudio Sanches 2018-03-21 00:00:54 -03:00
parent db713cce76
commit a1a82b09bb
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ class WC_Discounts {
$this->discounts[ $coupon->get_code() ][ $item->key ] += $discount;
}
// Allow post-processing for custom coupon types (e.g. calculating discrepancy, etc)
// Allow post-processing for custom coupon types (e.g. calculating discrepancy, etc).
$this->discounts[ $coupon->get_code() ] = apply_filters( 'woocommerce_coupon_custom_discounts_array', $this->discounts[ $coupon->get_code() ], $coupon );
return array_sum( $this->discounts[ $coupon->get_code() ] );