Skip to content

Commit

Permalink
update: doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
mralaminahamed committed Jan 10, 2025
1 parent 20278b8 commit fd5671e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions includes/Order/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,12 @@ public function split_vendor_orders( $parent_order_id ) {
*
* @since DOKAN_SINCE Refactored to make it more flexible, and added filter
*
* @param boolean $valid The validity of the coupon.
* @param \WC_Coupon $coupon The coupon object.
* @param \WC_Discounts $discount The discount object, which contains the order details.
* @param boolean $valid Whether the coupon is currently considered valid.
* @param \WC_Coupon $coupon The coupon object being validated.
* @param \WC_Discounts $discount The discount object containing cart/order items being validated.
*
* @throws Exception
* @return boolean|Exception
* @return boolean True if the coupon is valid, false otherwise
* @throws \Exception When the coupon is invalid for multiple vendors
*/
public function ensure_is_coupon_valid( $valid, $coupon, $discount ) {
$available_vendors = [];
Expand Down

0 comments on commit fd5671e

Please sign in to comment.