@@ -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 | } |
@@ -22,16 +22,19 @@ |
||
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | 24 | * @param string|null $type |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function setType(?string $type): void; |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @param array $configuration |
| 31 | + * @return void |
|
| 30 | 32 | */ |
| 31 | 33 | public function setConfiguration(array $configuration): void; |
| 32 | 34 | |
| 33 | 35 | /** |
| 34 | 36 | * @param PromotionInterface|null $promotion |
| 37 | + * @return void |
|
| 35 | 38 | */ |
| 36 | 39 | public function setPromotion(?PromotionInterface $promotion): void; |
| 37 | 40 | } |
@@ -29,6 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param int|null $usageLimit |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function setUsageLimit(?int $usageLimit): void; |
| 34 | 35 | |
@@ -39,11 +40,18 @@ discard block |
||
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param int $used |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function setUsed(int $used): void; |
| 44 | 46 | |
| 47 | + /** |
|
| 48 | + * @return void |
|
| 49 | + */ |
|
| 45 | 50 | public function incrementUsed(): void; |
| 46 | 51 | |
| 52 | + /** |
|
| 53 | + * @return void |
|
| 54 | + */ |
|
| 47 | 55 | public function decrementUsed(): void; |
| 48 | 56 | |
| 49 | 57 | /** |
@@ -53,6 +61,7 @@ discard block |
||
| 53 | 61 | |
| 54 | 62 | /** |
| 55 | 63 | * @param PromotionInterface|null $promotion |
| 64 | + * @return void |
|
| 56 | 65 | */ |
| 57 | 66 | public function setPromotion(?PromotionInterface $promotion): void; |
| 58 | 67 | |
@@ -63,6 +72,7 @@ discard block |
||
| 63 | 72 | |
| 64 | 73 | /** |
| 65 | 74 | * @param \DateTimeInterface $expiresAt |
| 75 | + * @return void |
|
| 66 | 76 | */ |
| 67 | 77 | public function setExpiresAt(?\DateTimeInterface $expiresAt): void; |
| 68 | 78 | |