1 | <?php |
||
27 | class CartCoupon extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Allows you to add a coupon code for a shopping cart (quote). |
||
31 | * The shopping cart must not be empty. |
||
32 | * |
||
33 | * @param int $quoteId |
||
34 | * @param string $couponCode |
||
35 | * @param string $store |
||
36 | * |
||
37 | * @return ActionInterface |
||
38 | */ |
||
39 | public function add($quoteId, $couponCode, $store = null) |
||
43 | |||
44 | /** |
||
45 | * Allows you to remove a coupon code from a shopping cart (quote). |
||
46 | * |
||
47 | * @param int $quoteId |
||
48 | * @param string $store |
||
49 | * |
||
50 | * @return ActionInterface |
||
51 | */ |
||
52 | public function remove($quoteId, $store = null) |
||
56 | } |
||
57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.