@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param ProductOptionInterface $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(ProductOptionInterface $option = null); |
32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param string $value |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function setValue($value); |
42 | 44 |
@@ -28,6 +28,7 @@ |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * @param string $name |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function setName($name); |
33 | 34 | } |
@@ -22,12 +22,14 @@ |
||
22 | 22 | /** |
23 | 23 | * @param PromotionSubjectInterface $subject |
24 | 24 | * @param PromotionInterface $promotion |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function apply(PromotionSubjectInterface $subject, PromotionInterface $promotion); |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param PromotionSubjectInterface $subject |
30 | 31 | * @param PromotionInterface $promotion |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function revert(PromotionSubjectInterface $subject, PromotionInterface $promotion); |
33 | 35 | } |
@@ -60,7 +60,7 @@ |
||
60 | 60 | /** |
61 | 61 | * @param PromotionCouponGeneratorInstructionInterface $instruction |
62 | 62 | * |
63 | - * @return int |
|
63 | + * @return double |
|
64 | 64 | * |
65 | 65 | * @throws \InvalidArgumentException |
66 | 66 | */ |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param int $amount |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setAmount($amount); |
28 | 29 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | |
34 | 35 | /** |
35 | 36 | * @param int $codeLength |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function setCodeLength($codeLength); |
38 | 40 | |
@@ -43,6 +45,7 @@ discard block |
||
43 | 45 | |
44 | 46 | /** |
45 | 47 | * @param \DateTime $expiresAt |
48 | + * @return void |
|
46 | 49 | */ |
47 | 50 | public function setExpiresAt(\DateTime $expiresAt = null); |
48 | 51 | |
@@ -53,6 +56,7 @@ discard block |
||
53 | 56 | |
54 | 57 | /** |
55 | 58 | * @param int $usageLimit |
59 | + * @return void |
|
56 | 60 | */ |
57 | 61 | public function setUsageLimit($usageLimit); |
58 | 62 | } |
@@ -38,11 +38,13 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @param PromotionInterface $promotion |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function addPromotion(PromotionInterface $promotion); |
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param PromotionInterface $promotion |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function removePromotion(PromotionInterface $promotion); |
48 | 50 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param PromotionSubjectInterface $subject |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function process(PromotionSubjectInterface $subject); |
25 | 26 | } |
@@ -29,6 +29,7 @@ discard block |
||
29 | 29 | * |
30 | 30 | * @throws ExistingServiceException |
31 | 31 | * @throws \InvalidArgumentException |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function register($service, $priority = 0); |
34 | 35 | |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | * @param object $service |
37 | 38 | * |
38 | 39 | * @throws NonExistingServiceException |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function unregister($service); |
41 | 43 |
@@ -23,6 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param \DateTime $archivedAt |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setArchivedAt(\DateTime $archivedAt = null); |
28 | 29 | } |