@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param AdjustableInterface|null $adjustable |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setAdjustable(AdjustableInterface $adjustable = null); |
31 | 32 | |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | |
37 | 38 | /** |
38 | 39 | * @param string $type |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function setType($type); |
41 | 43 | |
@@ -46,6 +48,7 @@ discard block |
||
46 | 48 | |
47 | 49 | /** |
48 | 50 | * @param string $label |
51 | + * @return void |
|
49 | 52 | */ |
50 | 53 | public function setLabel($label); |
51 | 54 | |
@@ -56,6 +59,7 @@ discard block |
||
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param int $amount |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function setAmount($amount); |
61 | 65 | |
@@ -66,6 +70,7 @@ discard block |
||
66 | 70 | |
67 | 71 | /** |
68 | 72 | * @param bool $neutral |
73 | + * @return void |
|
69 | 74 | */ |
70 | 75 | public function setNeutral($neutral); |
71 | 76 | |
@@ -74,8 +79,14 @@ discard block |
||
74 | 79 | */ |
75 | 80 | public function isLocked(); |
76 | 81 | |
82 | + /** |
|
83 | + * @return void |
|
84 | + */ |
|
77 | 85 | public function lock(); |
78 | 86 | |
87 | + /** |
|
88 | + * @return void |
|
89 | + */ |
|
79 | 90 | public function unlock(); |
80 | 91 | |
81 | 92 | /** |
@@ -99,6 +110,7 @@ discard block |
||
99 | 110 | |
100 | 111 | /** |
101 | 112 | * @param string $originCode |
113 | + * @return void |
|
102 | 114 | */ |
103 | 115 | public function setOriginCode($originCode); |
104 | 116 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Order\Model; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Order\Model; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Order\Modifier; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Order\Processor; |
15 | 15 |
@@ -16,5 +16,8 @@ |
||
16 | 16 | */ |
17 | 17 | interface ExpiredCartsRemoverInterface |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function remove(); |
20 | 23 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Order\Remover; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Order\StateResolver; |
15 | 15 |
@@ -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]> |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Product\Checker; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Product\Generator; |
15 | 15 |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param ProductAssociationTypeInterface $type |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setType(ProductAssociationTypeInterface $type); |
32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param ProductInterface|null $owner |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function setOwner(ProductInterface $owner = null); |
42 | 44 | |
@@ -47,11 +49,13 @@ discard block |
||
47 | 49 | |
48 | 50 | /** |
49 | 51 | * @param ProductInterface $product |
52 | + * @return void |
|
50 | 53 | */ |
51 | 54 | public function addAssociatedProduct(ProductInterface $product); |
52 | 55 | |
53 | 56 | /** |
54 | 57 | * @param ProductInterface $product |
58 | + * @return void |
|
55 | 59 | */ |
56 | 60 | public function removeAssociatedProduct(ProductInterface $product); |
57 | 61 | |
@@ -62,5 +66,8 @@ discard block |
||
62 | 66 | */ |
63 | 67 | public function hasAssociatedProduct(ProductInterface $product); |
64 | 68 | |
69 | + /** |
|
70 | + * @return void |
|
71 | + */ |
|
65 | 72 | public function clearAssociatedProducts(); |
66 | 73 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Product\Model; |
15 | 15 |