@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @param int|null $priority |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function setPriority($priority); |
27 | 28 | |
@@ -32,6 +33,7 @@ discard block |
||
32 | 33 | |
33 | 34 | /** |
34 | 35 | * @param string $name |
36 | + * @return void |
|
35 | 37 | */ |
36 | 38 | public function nameIt($name); |
37 | 39 | |
@@ -49,35 +51,47 @@ discard block |
||
49 | 51 | |
50 | 52 | /** |
51 | 53 | * @param string $limit |
54 | + * @return void |
|
52 | 55 | */ |
53 | 56 | public function fillUsageLimit($limit); |
54 | 57 | |
58 | + /** |
|
59 | + * @return void |
|
60 | + */ |
|
55 | 61 | public function makeExclusive(); |
56 | 62 | |
63 | + /** |
|
64 | + * @return void |
|
65 | + */ |
|
57 | 66 | public function checkCouponBased(); |
58 | 67 | |
59 | 68 | /** |
60 | 69 | * @param string $name |
70 | + * @return void |
|
61 | 71 | */ |
62 | 72 | public function checkChannel($name); |
63 | 73 | |
64 | 74 | /** |
65 | 75 | * @param \DateTime $dateTime |
76 | + * @return void |
|
66 | 77 | */ |
67 | 78 | public function setStartsAt(\DateTime $dateTime); |
68 | 79 | |
69 | 80 | /** |
70 | 81 | * @param \DateTime $dateTime |
82 | + * @return void |
|
71 | 83 | */ |
72 | 84 | public function setEndsAt(\DateTime $dateTime); |
73 | 85 | |
74 | 86 | /** |
75 | 87 | * {@inheritdoc} |
88 | + * @return boolean |
|
76 | 89 | */ |
77 | 90 | public function hasStartsAt(\DateTime $dateTime); |
78 | 91 | |
79 | 92 | /** |
80 | 93 | * {@inheritdoc} |
94 | + * @return boolean |
|
81 | 95 | */ |
82 | 96 | public function hasEndsAt(\DateTime $dateTime); |
83 | 97 | } |
@@ -199,6 +199,7 @@ |
||
199 | 199 | |
200 | 200 | /** |
201 | 201 | * {@inheritdoc} |
202 | + * @param string $name |
|
202 | 203 | */ |
203 | 204 | protected function getElement($name, array $parameters = []) |
204 | 205 | { |
@@ -199,6 +199,7 @@ |
||
199 | 199 | |
200 | 200 | /** |
201 | 201 | * {@inheritdoc} |
202 | + * @param string $name |
|
202 | 203 | */ |
203 | 204 | protected function getElement($name, array $parameters = []) |
204 | 205 | { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @return callable |
|
70 | + * @return \Closure |
|
71 | 71 | */ |
72 | 72 | private function optionalCallableNormalizer() |
73 | 73 | { |
@@ -20,16 +20,19 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $type |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function setType($type); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param array $configuration |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function setConfiguration(array $configuration); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param PromotionInterface $promotion |
35 | + * @return void |
|
33 | 36 | */ |
34 | 37 | public function setPromotion(PromotionInterface $promotion = null); |
35 | 38 | } |
@@ -20,16 +20,19 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $type |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function setType($type); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param array $configuration |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function setConfiguration(array $configuration); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param PromotionInterface $promotion |
35 | + * @return void |
|
33 | 36 | */ |
34 | 37 | public function setPromotion(PromotionInterface $promotion = null); |
35 | 38 | } |
@@ -55,6 +55,7 @@ |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @Then the :productVariantCode variant of the :product product should appear in the store |
58 | + * @param string $productVariantCode |
|
58 | 59 | */ |
59 | 60 | public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product) |
60 | 61 | { |
@@ -519,7 +519,7 @@ |
||
519 | 519 | |
520 | 520 | /** |
521 | 521 | * @param string $element |
522 | - * @param $message |
|
522 | + * @param string $message |
|
523 | 523 | */ |
524 | 524 | private function assertValidationMessage($element, $message) |
525 | 525 | { |
@@ -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 | |
@@ -48,11 +49,13 @@ discard block |
||
48 | 49 | |
49 | 50 | /** |
50 | 51 | * @param ProductOptionValueInterface $optionValue |
52 | + * @return void |
|
51 | 53 | */ |
52 | 54 | public function addOptionValue(ProductOptionValueInterface $optionValue); |
53 | 55 | |
54 | 56 | /** |
55 | 57 | * @param ProductOptionValueInterface $optionValue |
58 | + * @return void |
|
56 | 59 | */ |
57 | 60 | public function removeOptionValue(ProductOptionValueInterface $optionValue); |
58 | 61 | |
@@ -70,6 +73,7 @@ discard block |
||
70 | 73 | |
71 | 74 | /** |
72 | 75 | * @param null|ProductInterface $product |
76 | + * @return void |
|
73 | 77 | */ |
74 | 78 | public function setProduct(ProductInterface $product = null); |
75 | 79 | |
@@ -80,6 +84,7 @@ discard block |
||
80 | 84 | |
81 | 85 | /** |
82 | 86 | * @param int $position |
87 | + * @return void |
|
83 | 88 | */ |
84 | 89 | public function setPosition($position); |
85 | 90 | } |