@@ -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 |
@@ -22,6 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @param OrderInterface $order |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function resolve(OrderInterface $order): void; |
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\Order\Repository; |
15 | 15 |
@@ -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\Aggregator; |
15 | 15 |
@@ -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 |
@@ -22,6 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @param OrderInterface $order |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function process(OrderInterface $order): void; |
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\Order\Model; |
15 | 15 |
@@ -28,6 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * @param AdjustableInterface|null $adjustable |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function setAdjustable(?AdjustableInterface $adjustable): void; |
33 | 34 | |
@@ -38,6 +39,7 @@ discard block |
||
38 | 39 | |
39 | 40 | /** |
40 | 41 | * @param string|null $type |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function setType(?string $type): void; |
43 | 45 | |
@@ -48,6 +50,7 @@ discard block |
||
48 | 50 | |
49 | 51 | /** |
50 | 52 | * @param string|null $label |
53 | + * @return void |
|
51 | 54 | */ |
52 | 55 | public function setLabel(?string $label): void; |
53 | 56 | |
@@ -58,6 +61,7 @@ discard block |
||
58 | 61 | |
59 | 62 | /** |
60 | 63 | * @param int $amount |
64 | + * @return void |
|
61 | 65 | */ |
62 | 66 | public function setAmount(int $amount): void; |
63 | 67 | |
@@ -68,6 +72,7 @@ discard block |
||
68 | 72 | |
69 | 73 | /** |
70 | 74 | * @param bool $neutral |
75 | + * @return void |
|
71 | 76 | */ |
72 | 77 | public function setNeutral(bool $neutral): void; |
73 | 78 | |
@@ -76,8 +81,14 @@ discard block |
||
76 | 81 | */ |
77 | 82 | public function isLocked(): bool; |
78 | 83 | |
84 | + /** |
|
85 | + * @return void |
|
86 | + */ |
|
79 | 87 | public function lock(): void; |
80 | 88 | |
89 | + /** |
|
90 | + * @return void |
|
91 | + */ |
|
81 | 92 | public function unlock(): void; |
82 | 93 | |
83 | 94 | /** |
@@ -101,6 +112,7 @@ discard block |
||
101 | 112 | |
102 | 113 | /** |
103 | 114 | * @param string|null $originCode |
115 | + * @return void |
|
104 | 116 | */ |
105 | 117 | public function setOriginCode(?string $originCode): void; |
106 | 118 | } |
@@ -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 |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface ExpiredCartsRemoverInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function remove(): void; |
19 | 22 | } |
@@ -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 spec\Sylius\Component\Review\Factory; |
15 | 15 |
@@ -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 spec\Sylius\Component\Review\Model; |
15 | 15 |
@@ -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 spec\Sylius\Component\Review\Calculator; |
15 | 15 |