Skip to content

Commit

Permalink
fix: initialize couponModel to null in Coupon.php for clarity and safety
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Feb 22, 2025
1 parent 612cc9d commit d3de49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CartConditions/Coupon.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Coupon extends CartCondition

public ?int $priority = 200;

protected static ?CouponModel $couponModel;
protected static ?CouponModel $couponModel = null;

protected static $applicableItems;

Expand Down

0 comments on commit d3de49c

Please sign in to comment.