@@ -23,5 +23,8 @@ |
||
23 | 23 | */ |
24 | 24 | public function getIndex(); |
25 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
26 | 29 | public function incrementIndex(); |
27 | 30 | } |
@@ -22,12 +22,14 @@ |
||
22 | 22 | /** |
23 | 23 | * @param OrderInterface $cart |
24 | 24 | * @param OrderItemInterface $cartItem |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function addToOrder(OrderInterface $cart, OrderItemInterface $cartItem); |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param OrderInterface $cart |
30 | 31 | * @param OrderItemInterface $item |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function removeFromOrder(OrderInterface $cart, OrderItemInterface $item); |
33 | 35 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param OrderInterface $order |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function process(OrderInterface $order); |
25 | 26 | } |
@@ -16,5 +16,8 @@ |
||
16 | 16 | */ |
17 | 17 | interface ExpiredCartsRemoverInterface |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function remove(); |
20 | 23 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param OrderInterface $order |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function resolve(OrderInterface $order); |
25 | 26 | } |
@@ -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 | |
@@ -43,6 +44,7 @@ discard block |
||
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param string $description |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function setDescription($description); |
48 | 50 | |
@@ -53,6 +55,7 @@ discard block |
||
53 | 55 | |
54 | 56 | /** |
55 | 57 | * @param string $instructions |
58 | + * @return void |
|
56 | 59 | */ |
57 | 60 | public function setInstructions($instructions); |
58 | 61 | |
@@ -63,6 +66,7 @@ discard block |
||
63 | 66 | |
64 | 67 | /** |
65 | 68 | * @param string $gateway |
69 | + * @return void |
|
66 | 70 | */ |
67 | 71 | public function setGateway($gateway); |
68 | 72 | |
@@ -73,6 +77,7 @@ discard block |
||
73 | 77 | |
74 | 78 | /** |
75 | 79 | * @param string $environment |
80 | + * @return void |
|
76 | 81 | */ |
77 | 82 | public function setEnvironment($environment); |
78 | 83 | |
@@ -83,6 +88,7 @@ discard block |
||
83 | 88 | |
84 | 89 | /** |
85 | 90 | * @param int $position |
91 | + * @return void |
|
86 | 92 | */ |
87 | 93 | public function setPosition($position); |
88 | 94 | } |
@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @param string $name |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function setName($name); |
27 | 28 | |
@@ -32,6 +33,7 @@ discard block |
||
32 | 33 | |
33 | 34 | /** |
34 | 35 | * @param string $description |
36 | + * @return void |
|
35 | 37 | */ |
36 | 38 | public function setDescription($description); |
37 | 39 | |
@@ -42,6 +44,7 @@ discard block |
||
42 | 44 | |
43 | 45 | /** |
44 | 46 | * @param string $instructions |
47 | + * @return void |
|
45 | 48 | */ |
46 | 49 | public function setInstructions($instructions); |
47 | 50 | } |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Product\Model\ProductInterface; |
15 | 15 | use Sylius\Component\Product\Model\ProductVariantInterface; |
16 | -use Webmozart\Assert\Assert; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * @author Łukasz Chruściel <[email protected]> |
@@ -22,6 +22,7 @@ |
||
22 | 22 | * @param ProductInterface $product |
23 | 23 | * |
24 | 24 | * @throws \InvalidArgumentException |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function generate(ProductInterface $product); |
27 | 28 | } |