@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | /** |
83 | 83 | * {@inheritdoc} |
84 | 84 | */ |
85 | - public function setState(?string $state): void |
|
85 | + public function setState(?string $state) : void |
|
86 | 86 | { |
87 | 87 | $this->state = $state; |
88 | 88 | } |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * {@inheritdoc} |
100 | 100 | */ |
101 | - public function setMethod(?ShippingMethodInterface $method): void |
|
101 | + public function setMethod(?ShippingMethodInterface $method) : void |
|
102 | 102 | { |
103 | 103 | $this->method = $method; |
104 | 104 | } |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | /** |
153 | 153 | * {@inheritdoc} |
154 | 154 | */ |
155 | - public function setTracking(?string $tracking): void |
|
155 | + public function setTracking(?string $tracking) : void |
|
156 | 156 | { |
157 | 157 | $this->tracking = $tracking; |
158 | 158 | } |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * @param string|null $state |
37 | 37 | */ |
38 | - public function setState(?string $state): void; |
|
38 | + public function setState(?string $state) : void; |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @return ShippingMethodInterface|null |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * @param ShippingMethodInterface|null $method |
47 | 47 | */ |
48 | - public function setMethod(?ShippingMethodInterface $method): void; |
|
48 | + public function setMethod(?ShippingMethodInterface $method) : void; |
|
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @return Collection|ShipmentUnitInterface[] |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * @param string|null $tracking |
79 | 79 | */ |
80 | - public function setTracking(?string $tracking): void; |
|
80 | + public function setTracking(?string $tracking) : void; |
|
81 | 81 | |
82 | 82 | /** |
83 | 83 | * @return bool |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * {@inheritdoc} |
100 | 100 | */ |
101 | - public function setCode(?string $code): void |
|
101 | + public function setCode(?string $code) : void |
|
102 | 102 | { |
103 | 103 | $this->code = $code; |
104 | 104 | } |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * {@inheritdoc} |
116 | 116 | */ |
117 | - public function setPosition(?int $position): void |
|
117 | + public function setPosition(?int $position) : void |
|
118 | 118 | { |
119 | 119 | $this->position = $position; |
120 | 120 | } |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * {@inheritdoc} |
132 | 132 | */ |
133 | - public function setCategory(?ShippingCategoryInterface $category): void |
|
133 | + public function setCategory(?ShippingCategoryInterface $category) : void |
|
134 | 134 | { |
135 | 135 | $this->category = $category; |
136 | 136 | } |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * {@inheritdoc} |
148 | 148 | */ |
149 | - public function setCategoryRequirement(?int $categoryRequirement): void |
|
149 | + public function setCategoryRequirement(?int $categoryRequirement) : void |
|
150 | 150 | { |
151 | 151 | $this->categoryRequirement = $categoryRequirement; |
152 | 152 | } |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | /** |
171 | 171 | * {@inheritdoc} |
172 | 172 | */ |
173 | - public function setName(?string $name): void |
|
173 | + public function setName(?string $name) : void |
|
174 | 174 | { |
175 | 175 | $this->getTranslation()->setName($name); |
176 | 176 | } |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | /** |
187 | 187 | * {@inheritdoc} |
188 | 188 | */ |
189 | - public function setDescription(?string $description): void |
|
189 | + public function setDescription(?string $description) : void |
|
190 | 190 | { |
191 | 191 | $this->getTranslation()->setDescription($description); |
192 | 192 | } |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | /** |
203 | 203 | * {@inheritdoc} |
204 | 204 | */ |
205 | - public function setCalculator(?string $calculator): void |
|
205 | + public function setCalculator(?string $calculator) : void |
|
206 | 206 | { |
207 | 207 | $this->calculator = $calculator; |
208 | 208 | } |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * {@inheritdoc} |
64 | 64 | */ |
65 | - public function setName(?string $name): void |
|
65 | + public function setName(?string $name) : void |
|
66 | 66 | { |
67 | 67 | $this->name = $name; |
68 | 68 | } |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * {@inheritdoc} |
80 | 80 | */ |
81 | - public function setDescription(?string $description): void |
|
81 | + public function setDescription(?string $description) : void |
|
82 | 82 | { |
83 | 83 | $this->description = $description; |
84 | 84 | } |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * @param int|null $position |
45 | 45 | */ |
46 | - public function setPosition(?int $position): void; |
|
46 | + public function setPosition(?int $position) : void; |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * @return ShippingCategoryInterface|null |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * @param int|null $categoryRequirement |
72 | 72 | */ |
73 | - public function setCategoryRequirement(?int $categoryRequirement): void; |
|
73 | + public function setCategoryRequirement(?int $categoryRequirement) : void; |
|
74 | 74 | |
75 | 75 | /** |
76 | 76 | * @return string |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * @param string $calculator |
87 | 87 | */ |
88 | - public function setCalculator(?string $calculator): void; |
|
88 | + public function setCalculator(?string $calculator) : void; |
|
89 | 89 | |
90 | 90 | /** |
91 | 91 | * @return array |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * {@inheritdoc} |
76 | 76 | */ |
77 | - public function setCode(?string $code): void |
|
77 | + public function setCode(?string $code) : void |
|
78 | 78 | { |
79 | 79 | $this->code = $code; |
80 | 80 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * {@inheritdoc} |
92 | 92 | */ |
93 | - public function setName(?string $name): void |
|
93 | + public function setName(?string $name) : void |
|
94 | 94 | { |
95 | 95 | $this->name = $name; |
96 | 96 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * {@inheritdoc} |
108 | 108 | */ |
109 | - public function setDescription(?string $description): void |
|
109 | + public function setDescription(?string $description) : void |
|
110 | 110 | { |
111 | 111 | $this->description = $description; |
112 | 112 | } |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * @param string|null $name |
30 | 30 | */ |
31 | - public function setName(?string $name): void; |
|
31 | + public function setName(?string $name) : void; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @return string|null |
@@ -38,5 +38,5 @@ discard block |
||
38 | 38 | /** |
39 | 39 | * @param string|null $description |
40 | 40 | */ |
41 | - public function setDescription(?string $description): void; |
|
41 | + public function setDescription(?string $description) : void; |
|
42 | 42 | } |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | */ |
72 | - public function setShipment(?ShipmentInterface $shipment): void |
|
72 | + public function setShipment(?ShipmentInterface $shipment) : void |
|
73 | 73 | { |
74 | 74 | $this->shipment = $shipment; |
75 | 75 | } |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * @param ShippableInterface|null $shippable |
87 | 87 | */ |
88 | - public function setShippable(?ShippableInterface $shippable): void |
|
88 | + public function setShippable(?ShippableInterface $shippable) : void |
|
89 | 89 | { |
90 | 90 | $this->shippable = $shippable; |
91 | 91 | } |
@@ -9,7 +9,7 @@ discard block |
||
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\Shipping\Model; |
15 | 15 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * @param ShipmentInterface|null $shipment |
32 | 32 | */ |
33 | - public function setShipment(?ShipmentInterface $shipment): void; |
|
33 | + public function setShipment(?ShipmentInterface $shipment) : void; |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @return ShippableInterface|null |