@@ -23,6 +23,7 @@ |
||
23 | 23 | * @param OrderInterface $order |
24 | 24 | * @param PromotionInterface $promotion |
25 | 25 | * @param array $adjustmentsAmounts |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function apply(OrderInterface $order, PromotionInterface $promotion, array $adjustmentsAmounts); |
28 | 29 | } |
@@ -23,6 +23,7 @@ |
||
23 | 23 | /** |
24 | 24 | * @param OrderInterface $order |
25 | 25 | * @param ZoneInterface $zone |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function apply(OrderInterface $order, ZoneInterface $zone); |
28 | 29 | } |
@@ -22,6 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * @param OrderInterface $order |
24 | 24 | * @param ZoneInterface $zone |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function applyTaxes(OrderInterface $order, ZoneInterface $zone); |
27 | 28 |
@@ -17,11 +17,13 @@ |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * @param ImageInterface $image |
20 | + * @return void |
|
20 | 21 | */ |
21 | 22 | public function upload(ImageInterface $image); |
22 | 23 | |
23 | 24 | /** |
24 | 25 | * @param string $path |
26 | + * @return boolean |
|
25 | 27 | */ |
26 | 28 | public function remove($path); |
27 | 29 | } |
@@ -24,6 +24,7 @@ |
||
24 | 24 | * @param DataSourceInterface $dataSource |
25 | 25 | * @param Grid $grid |
26 | 26 | * @param Parameters $parameters |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function apply(DataSourceInterface $dataSource, Grid $grid, Parameters $parameters); |
29 | 30 | } |
@@ -24,6 +24,7 @@ |
||
24 | 24 | * @param DataSourceInterface $dataSource |
25 | 25 | * @param Grid $grid |
26 | 26 | * @param Parameters $parameters |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function sort(DataSourceInterface $dataSource, Grid $grid, Parameters $parameters); |
29 | 30 | } |
@@ -56,7 +56,7 @@ |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * @return array |
|
59 | + * @return string[] |
|
60 | 60 | */ |
61 | 61 | public function getRecipients() |
62 | 62 | { |
@@ -27,11 +27,13 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param AdjustmentInterface $adjustment |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function addAdjustment(AdjustmentInterface $adjustment); |
32 | 33 | |
33 | 34 | /** |
34 | 35 | * @param AdjustmentInterface $adjustment |
36 | + * @return void |
|
35 | 37 | */ |
36 | 38 | public function removeAdjustment(AdjustmentInterface $adjustment); |
37 | 39 | |
@@ -44,11 +46,13 @@ discard block |
||
44 | 46 | |
45 | 47 | /** |
46 | 48 | * @param string $type |
49 | + * @return void |
|
47 | 50 | */ |
48 | 51 | public function removeAdjustments($type); |
49 | 52 | |
50 | 53 | /** |
51 | 54 | * Recalculates adjustments total. Should be used after adjustment change. |
55 | + * @return void |
|
52 | 56 | */ |
53 | 57 | public function recalculateAdjustmentsTotal(); |
54 | 58 | } |
@@ -23,6 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param OrderInterface $order |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setOrder(OrderInterface $order = null); |
28 | 29 | } |