Completed
Push — scalar-types/theme ( 71f30c )
by Kamil
21:15
created
src/Sylius/Component/Shipping/Model/Shipment.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethod.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethodTranslation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethodInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingCategory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethodTranslationInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentUnit.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentUnitInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.