Completed
Push — scalar-types/ui ( 162de3 )
by Kamil
22:15
created
src/Sylius/Component/Inventory/Model/StockableInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param int|null $onHold
38
+     * @return void
38 39
      */
39 40
     public function setOnHold(?int $onHold): void;
40 41
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
 
46 47
     /**
47 48
      * @param int|null $onHand
49
+     * @return void
48 50
      */
49 51
     public function setOnHand(?int $onHand): void;
50 52
 
@@ -55,6 +57,7 @@  discard block
 block discarded – undo
55 57
 
56 58
     /**
57 59
      * @param bool $tracked
60
+     * @return void
58 61
      */
59 62
     public function setTracked(bool $tracked): void;
60 63
 }
Please login to merge, or discard this 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\Inventory\Model;
15 15
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param int|null $onHold
38 38
      */
39
-    public function setOnHold(?int $onHold): void;
39
+    public function setOnHold(?int $onHold) : void;
40 40
 
41 41
     /**
42 42
      * @return int|null
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * @param int|null $onHand
48 48
      */
49
-    public function setOnHand(?int $onHand): void;
49
+    public function setOnHand(?int $onHand) : void;
50 50
 
51 51
     /**
52 52
      * @return bool
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentInterface.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param string|null $state
37
+     * @return void
37 38
      */
38 39
     public function setState(?string $state): void;
39 40
 
@@ -44,6 +45,7 @@  discard block
 block discarded – undo
44 45
 
45 46
     /**
46 47
      * @param ShippingMethodInterface|null $method
48
+     * @return void
47 49
      */
48 50
     public function setMethod(?ShippingMethodInterface $method): void;
49 51
 
@@ -54,11 +56,13 @@  discard block
 block discarded – undo
54 56
 
55 57
     /**
56 58
      * @param ShipmentUnitInterface $unit
59
+     * @return void
57 60
      */
58 61
     public function addUnit(ShipmentUnitInterface $unit): void;
59 62
 
60 63
     /**
61 64
      * @param ShipmentUnitInterface $unit
65
+     * @return void
62 66
      */
63 67
     public function removeUnit(ShipmentUnitInterface $unit): void;
64 68
 
@@ -76,6 +80,7 @@  discard block
 block discarded – undo
76 80
 
77 81
     /**
78 82
      * @param string|null $tracking
83
+     * @return void
79 84
      */
80 85
     public function setTracking(?string $tracking): void;
81 86
 
Please login to merge, or discard this 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/ShipmentUnitInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param ShipmentInterface|null $shipment
32
+     * @return void
32 33
      */
33 34
     public function setShipment(?ShipmentInterface $shipment): void;
34 35
 
Please login to merge, or discard this 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.
src/Sylius/Component/Shipping/Model/ShippingCategoryInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param string|null $name
32
+     * @return void
32 33
      */
33 34
     public function setName(?string $name): void;
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string|null $description
43
+     * @return void
42 44
      */
43 45
     public function setDescription(?string $description): void;
44 46
 }
Please login to merge, or discard this 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
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @param string|null $name
32 32
      */
33
-    public function setName(?string $name): void;
33
+    public function setName(?string $name) : void;
34 34
 
35 35
     /**
36 36
      * @return string|null
@@ -40,5 +40,5 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * @param string|null $description
42 42
      */
43
-    public function setDescription(?string $description): void;
43
+    public function setDescription(?string $description) : void;
44 44
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethodInterface.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param int|null $position
45
+     * @return void
45 46
      */
46 47
     public function setPosition(?int $position): void;
47 48
 
@@ -52,6 +53,7 @@  discard block
 block discarded – undo
52 53
 
53 54
     /**
54 55
      * @param ShippingCategoryInterface|null $category
56
+     * @return void
55 57
      */
56 58
     public function setCategory(?ShippingCategoryInterface $category);
57 59
 
@@ -69,6 +71,7 @@  discard block
 block discarded – undo
69 71
 
70 72
     /**
71 73
      * @param int|null $categoryRequirement
74
+     * @return void
72 75
      */
73 76
     public function setCategoryRequirement(?int $categoryRequirement): void;
74 77
 
@@ -84,6 +87,7 @@  discard block
 block discarded – undo
84 87
 
85 88
     /**
86 89
      * @param string $calculator
90
+     * @return void
87 91
      */
88 92
     public function setCalculator(?string $calculator): void;
89 93
 
@@ -94,6 +98,7 @@  discard block
 block discarded – undo
94 98
 
95 99
     /**
96 100
      * @param array $configuration
101
+     * @return void
97 102
      */
98 103
     public function setConfiguration(array $configuration): void;
99 104
 }
Please login to merge, or discard this 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/ShippingMethodTranslationInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param string|null $name
32
+     * @return void
32 33
      */
33 34
     public function setName(?string $name): void;
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string|null $description
43
+     * @return void
42 44
      */
43 45
     public function setDescription(?string $description): void;
44 46
 }
Please login to merge, or discard this 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/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/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.