@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param string $name |
36 | + * @return void |
|
36 | 37 | */ |
37 | 38 | public function setName($name); |
38 | 39 | |
@@ -43,11 +44,13 @@ discard block |
||
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param ProductOptionValueInterface $optionValue |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function addOptionValue(ProductOptionValueInterface $optionValue); |
48 | 50 | |
49 | 51 | /** |
50 | 52 | * @param ProductOptionValueInterface $optionValue |
53 | + * @return void |
|
51 | 54 | */ |
52 | 55 | public function removeOptionValue(ProductOptionValueInterface $optionValue); |
53 | 56 | |
@@ -65,6 +68,7 @@ discard block |
||
65 | 68 | |
66 | 69 | /** |
67 | 70 | * @param null|ProductInterface $product |
71 | + * @return void |
|
68 | 72 | */ |
69 | 73 | public function setProduct(ProductInterface $product = null); |
70 | 74 | |
@@ -80,6 +84,7 @@ discard block |
||
80 | 84 | |
81 | 85 | /** |
82 | 86 | * @param \DateTime|null $availableOn |
87 | + * @return void |
|
83 | 88 | */ |
84 | 89 | public function setAvailableOn(\DateTime $availableOn = null); |
85 | 90 | |
@@ -90,6 +95,7 @@ discard block |
||
90 | 95 | |
91 | 96 | /** |
92 | 97 | * @param \DateTime|null $availableUntil |
98 | + * @return void |
|
93 | 99 | */ |
94 | 100 | public function setAvailableUntil(\DateTime $availableUntil = null); |
95 | 101 | |
@@ -100,6 +106,7 @@ discard block |
||
100 | 106 | |
101 | 107 | /** |
102 | 108 | * @param int $position |
109 | + * @return void |
|
103 | 110 | */ |
104 | 111 | public function setPosition($position); |
105 | 112 | } |
@@ -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 | } |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param string $type |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setType($type); |
30 | 31 | |
@@ -35,6 +36,7 @@ discard block |
||
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param array $configuration |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function setConfiguration(array $configuration); |
40 | 42 | |
@@ -45,6 +47,7 @@ discard block |
||
45 | 47 | |
46 | 48 | /** |
47 | 49 | * @param PromotionInterface $promotion |
50 | + * @return void |
|
48 | 51 | */ |
49 | 52 | public function setPromotion(PromotionInterface $promotion = null); |
50 | 53 | } |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param string $type |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setType($type); |
30 | 31 | |
@@ -35,6 +36,7 @@ discard block |
||
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param array $configuration |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function setConfiguration(array $configuration); |
40 | 42 | |
@@ -45,6 +47,7 @@ discard block |
||
45 | 47 | |
46 | 48 | /** |
47 | 49 | * @param PromotionInterface $promotion |
50 | + * @return void |
|
48 | 51 | */ |
49 | 52 | public function setPromotion(PromotionInterface $promotion = null); |
50 | 53 | } |
@@ -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 | } |