@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param array|int[] $adjustmentsAmounts |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function apply(OrderInterface $order, PromotionInterface $promotion, array $adjustmentsAmounts): void; |
25 | 26 | } |
@@ -17,7 +17,13 @@ |
||
17 | 17 | |
18 | 18 | interface OrderPromotionsUsageModifierInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function increment(OrderInterface $order): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function decrement(OrderInterface $order): void; |
23 | 29 | } |
@@ -64,11 +64,23 @@ |
||
64 | 64 | */ |
65 | 65 | public function findOrdersUnpaidSince(\DateTimeInterface $terminalDate): array; |
66 | 66 | |
67 | + /** |
|
68 | + * @return OrderInterface |
|
69 | + */ |
|
67 | 70 | public function findCartForSummary($id): ?OrderInterface; |
68 | 71 | |
72 | + /** |
|
73 | + * @return OrderInterface |
|
74 | + */ |
|
69 | 75 | public function findCartForAddressing($id): ?OrderInterface; |
70 | 76 | |
77 | + /** |
|
78 | + * @return OrderInterface |
|
79 | + */ |
|
71 | 80 | public function findCartForSelectingShipping($id): ?OrderInterface; |
72 | 81 | |
82 | + /** |
|
83 | + * @return OrderInterface |
|
84 | + */ |
|
73 | 85 | public function findCartForSelectingPayment($id): ?OrderInterface; |
74 | 86 | } |
@@ -22,7 +22,13 @@ |
||
22 | 22 | |
23 | 23 | public function getForChannel(ChannelInterface $channel): ?OrderInterface; |
24 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
25 | 28 | public function setForChannel(ChannelInterface $channel, OrderInterface $cart): void; |
26 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
27 | 33 | public function removeForChannel(ChannelInterface $channel): void; |
28 | 34 | } |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface OrderTaxesApplicatorInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function apply(OrderInterface $order, ZoneInterface $zone): void; |
22 | 25 | } |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface TaxCalculationStrategyInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function applyTaxes(OrderInterface $order, ZoneInterface $zone): void; |
22 | 25 | |
23 | 26 | public function getType(): string; |
@@ -17,7 +17,13 @@ |
||
17 | 17 | |
18 | 18 | interface OrderTokenAssignerInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function assignTokenValue(OrderInterface $order): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function assignTokenValueIfNotSet(OrderInterface $order): void; |
23 | 29 | } |
@@ -17,6 +17,9 @@ |
||
17 | 17 | |
18 | 18 | interface ImageUploaderInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function upload(ImageInterface $image): void; |
21 | 24 | |
22 | 25 | public function remove(string $path): bool; |
@@ -24,7 +24,13 @@ |
||
24 | 24 | |
25 | 25 | public function hasCurrency(CurrencyInterface $currency): bool; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function addCurrency(CurrencyInterface $currency): void; |
28 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
29 | 35 | public function removeCurrency(CurrencyInterface $currency): void; |
30 | 36 | } |