@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param TranslatableInterface|null $translatable |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setTranslatable(?TranslatableInterface $translatable): void; |
30 | 31 | |
@@ -35,6 +36,7 @@ discard block |
||
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param string|null $locale |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function setLocale(?string $locale): void; |
40 | 42 | } |
@@ -25,6 +25,7 @@ |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param int|null $version |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setVersion(?int $version): void; |
30 | 31 | } |
@@ -35,12 +35,14 @@ |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $name |
38 | - * @param mixed $value |
|
38 | + * @param string $value |
|
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function set(string $name, $value): void; |
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param string $name |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function remove(string $name): void; |
46 | 48 |
@@ -22,6 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @param TranslatableInterface $translatableEntity |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function assignLocale(TranslatableInterface $translatableEntity): void; |
27 | 28 | } |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @param mixed $value |
|
45 | + * @param ToggleableInterface $value |
|
46 | 46 | */ |
47 | 47 | private function ensureValueImplementsToggleableInterface($value): void |
48 | 48 | { |
@@ -25,6 +25,7 @@ |
||
25 | 25 | * @param OrderInterface $order |
26 | 26 | * @param PromotionInterface $promotion |
27 | 27 | * @param array|int[] $adjustmentsAmounts |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function apply(OrderInterface $order, PromotionInterface $promotion, array $adjustmentsAmounts): void; |
30 | 31 | } |
@@ -22,11 +22,13 @@ |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @param OrderInterface $order |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function increment(OrderInterface $order): void; |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param OrderInterface $order |
31 | + * @return void |
|
30 | 32 | */ |
31 | 33 | public function decrement(OrderInterface $order): void; |
32 | 34 | } |
@@ -34,6 +34,7 @@ |
||
34 | 34 | * @param PromotionSubjectInterface $subject |
35 | 35 | * @param array $configuration |
36 | 36 | * @param PromotionInterface $promotion |
37 | + * @return void |
|
37 | 38 | */ |
38 | 39 | public function revert(PromotionSubjectInterface $subject, array $configuration, PromotionInterface $promotion): void; |
39 | 40 | } |
@@ -24,12 +24,14 @@ |
||
24 | 24 | /** |
25 | 25 | * @param PromotionSubjectInterface $subject |
26 | 26 | * @param PromotionInterface $promotion |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function apply(PromotionSubjectInterface $subject, PromotionInterface $promotion): void; |
29 | 30 | |
30 | 31 | /** |
31 | 32 | * @param PromotionSubjectInterface $subject |
32 | 33 | * @param PromotionInterface $promotion |
34 | + * @return void |
|
33 | 35 | */ |
34 | 36 | public function revert(PromotionSubjectInterface $subject, PromotionInterface $promotion): void; |
35 | 37 | } |