@@ -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 | } |
@@ -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 | } |
@@ -37,21 +37,25 @@ |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @param TranslationInterface $translation |
40 | + * @return void |
|
40 | 41 | */ |
41 | 42 | public function addTranslation(TranslationInterface $translation); |
42 | 43 | |
43 | 44 | /** |
44 | 45 | * @param TranslationInterface $translation |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function removeTranslation(TranslationInterface $translation); |
47 | 49 | |
48 | 50 | /** |
49 | 51 | * @param string $locale |
52 | + * @return void |
|
50 | 53 | */ |
51 | 54 | public function setCurrentLocale($locale); |
52 | 55 | |
53 | 56 | /** |
54 | 57 | * @param string $locale |
58 | + * @return void |
|
55 | 59 | */ |
56 | 60 | public function setFallbackLocale($locale); |
57 | 61 | } |