Completed
Push — 1.0 ( 1d950a...de38cc )
by Kamil
27:01
created
src/Sylius/Bundle/PayumBundle/Action/Offline/StatusAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\Bundle\PayumBundle\Action\Offline;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentInterface.php 2 patches
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\Payment\Model;
15 15
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @param PaymentMethodInterface|null $method
40 40
      */
41
-    public function setMethod(?PaymentMethodInterface $method): void;
41
+    public function setMethod(?PaymentMethodInterface $method) : void;
42 42
 
43 43
     /**
44 44
      * @return string|null
Please login to merge, or discard this patch.
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param PaymentMethodInterface|null $method
38
+     * @return void
38 39
      */
39 40
     public function setMethod(?PaymentMethodInterface $method): void;
40 41
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
 
46 47
     /**
47 48
      * @param string $state
49
+     * @return void
48 50
      */
49 51
     public function setState(string $state): void;
50 52
 
@@ -55,6 +57,7 @@  discard block
 block discarded – undo
55 57
 
56 58
     /**
57 59
      * @param string $currencyCode
60
+     * @return void
58 61
      */
59 62
     public function setCurrencyCode(string $currencyCode): void;
60 63
 
@@ -65,6 +68,7 @@  discard block
 block discarded – undo
65 68
 
66 69
     /**
67 70
      * @param int $amount
71
+     * @return void
68 72
      */
69 73
     public function setAmount(int $amount): void;
70 74
 
@@ -75,6 +79,7 @@  discard block
 block discarded – undo
75 79
 
76 80
     /**
77 81
      * @param array $details
82
+     * @return void
78 83
      */
79 84
     public function setDetails(array $details): void;
80 85
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Order.php 1 patch
Spacing   +14 added lines, -14 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\Core\Model;
15 15
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * {@inheritdoc}
130 130
      */
131
-    public function setCustomer(?BaseCustomerInterface $customer): void
131
+    public function setCustomer(?BaseCustomerInterface $customer) : void
132 132
     {
133 133
         $this->customer = $customer;
134 134
     }
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * {@inheritdoc}
146 146
      */
147
-    public function setChannel(?BaseChannelInterface $channel): void
147
+    public function setChannel(?BaseChannelInterface $channel) : void
148 148
     {
149 149
         $this->channel = $channel;
150 150
     }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * {@inheritdoc}
174 174
      */
175
-    public function setShippingAddress(?AddressInterface $address): void
175
+    public function setShippingAddress(?AddressInterface $address) : void
176 176
     {
177 177
         $this->shippingAddress = $address;
178 178
     }
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     /**
189 189
      * {@inheritdoc}
190 190
      */
191
-    public function setBillingAddress(?AddressInterface $address): void
191
+    public function setBillingAddress(?AddressInterface $address) : void
192 192
     {
193 193
         $this->billingAddress = $address;
194 194
     }
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     /**
205 205
      * {@inheritdoc}
206 206
      */
207
-    public function setCheckoutState(?string $checkoutState): void
207
+    public function setCheckoutState(?string $checkoutState) : void
208 208
     {
209 209
         $this->checkoutState = $checkoutState;
210 210
     }
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     /**
221 221
      * {@inheritdoc}
222 222
      */
223
-    public function setPaymentState(?string $paymentState): void
223
+    public function setPaymentState(?string $paymentState) : void
224 224
     {
225 225
         $this->paymentState = $paymentState;
226 226
     }
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     /**
304 304
      * {@inheritdoc}
305 305
      */
306
-    public function getLastPayment(?string $state = null): ?PaymentInterface
306
+    public function getLastPayment(?string $state = null) : ?PaymentInterface
307 307
     {
308 308
         if ($this->payments->isEmpty()) {
309 309
             return null;
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     /**
393 393
      * {@inheritdoc}
394 394
      */
395
-    public function setPromotionCoupon(?BaseCouponInterface $coupon): void
395
+    public function setPromotionCoupon(?BaseCouponInterface $coupon) : void
396 396
     {
397 397
         $this->promotionCoupon = $coupon;
398 398
     }
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
     /**
425 425
      * {@inheritdoc}
426 426
      */
427
-    public function setCurrencyCode(?string $currencyCode): void
427
+    public function setCurrencyCode(?string $currencyCode) : void
428 428
     {
429 429
         $this->currencyCode = $currencyCode;
430 430
     }
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
     /**
441 441
      * {@inheritdoc}
442 442
      */
443
-    public function setLocaleCode(?string $localeCode): void
443
+    public function setLocaleCode(?string $localeCode) : void
444 444
     {
445 445
         Assert::string($localeCode);
446 446
 
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
     /**
459 459
      * {@inheritdoc}
460 460
      */
461
-    public function setShippingState(?string $state): void
461
+    public function setShippingState(?string $state) : void
462 462
     {
463 463
         $this->shippingState = $state;
464 464
     }
@@ -559,7 +559,7 @@  discard block
 block discarded – undo
559 559
     /**
560 560
      * {@inheritdoc}
561 561
      */
562
-    public function setTokenValue(?string $tokenValue): void
562
+    public function setTokenValue(?string $tokenValue) : void
563 563
     {
564 564
         $this->tokenValue = $tokenValue;
565 565
     }
@@ -575,7 +575,7 @@  discard block
 block discarded – undo
575 575
     /**
576 576
      * {@inheritdoc}
577 577
      */
578
-    public function setCustomerIp(?string $customerIp): void
578
+    public function setCustomerIp(?string $customerIp) : void
579 579
     {
580 580
         $this->customerIp = $customerIp;
581 581
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\Behat\Context\Ui\Admin;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductContext.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\Behat\Context\Setup;
15 15
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -198,6 +198,7 @@
 block discarded – undo
198 198
 
199 199
     /**
200 200
      * @Given /^(this product) is(?:| also) priced at ("[^"]+") in ("[^"]+" channel)$/
201
+     * @param integer $price
201 202
      */
202 203
     public function thisProductIsAlsoPricedAtInChannel(ProductInterface $product, $price, ChannelInterface $channel)
203 204
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\Bundle\ResourceBundle\Controller;
15 15
 
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
-     * @param $name
157
+     * @param string $name
158 158
      *
159 159
      * @return string
160 160
      */
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * @param string $name
170 170
      *
171
-     * @return mixed|string|null
171
+     * @return string
172 172
      */
173 173
     public function getRedirectRoute($name)
174 174
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     }
229 229
 
230 230
     /**
231
-     * @param object|null $resource
231
+     * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource
232 232
      *
233 233
      * @return array
234 234
      */
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
     }
476 476
 
477 477
     /**
478
-     * @return mixed|null
478
+     * @return string
479 479
      */
480 480
     public function getSerializationVersion()
481 481
     {
Please login to merge, or discard this patch.
Bundle/AttributeBundle/Doctrine/ORM/Subscriber/LoadMetadataSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\Bundle\AttributeBundle\Doctrine\ORM\Subscriber;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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
  * This file is part of the Sylius package.
15 15
  *
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderInterface.php 2 patches
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * @param AddressInterface|null $address
46
+     * @return void
46 47
      */
47 48
     public function setShippingAddress(?AddressInterface $address): void;
48 49
 
@@ -53,6 +54,7 @@  discard block
 block discarded – undo
53 54
 
54 55
     /**
55 56
      * @param AddressInterface|null $address
57
+     * @return void
56 58
      */
57 59
     public function setBillingAddress(?AddressInterface $address): void;
58 60
 
@@ -63,6 +65,7 @@  discard block
 block discarded – undo
63 65
 
64 66
     /**
65 67
      * @param string|null $checkoutState
68
+     * @return void
66 69
      */
67 70
     public function setCheckoutState(?string $checkoutState): void;
68 71
 
@@ -73,6 +76,7 @@  discard block
 block discarded – undo
73 76
 
74 77
     /**
75 78
      * @param string|null $paymentState
79
+     * @return void
76 80
      */
77 81
     public function setPaymentState(?string $paymentState): void;
78 82
 
@@ -105,14 +109,19 @@  discard block
 block discarded – undo
105 109
 
106 110
     /**
107 111
      * @param ShipmentInterface $shipment
112
+     * @return void
108 113
      */
109 114
     public function addShipment(ShipmentInterface $shipment): void;
110 115
 
111 116
     /**
112 117
      * @param ShipmentInterface $shipment
118
+     * @return void
113 119
      */
114 120
     public function removeShipment(ShipmentInterface $shipment): void;
115 121
 
122
+    /**
123
+     * @return void
124
+     */
116 125
     public function removeShipments(): void;
117 126
 
118 127
     /**
@@ -129,6 +138,7 @@  discard block
 block discarded – undo
129 138
 
130 139
     /**
131 140
      * @param string|null $currencyCode
141
+     * @return void
132 142
      */
133 143
     public function setCurrencyCode(?string $currencyCode): void;
134 144
 
@@ -139,11 +149,13 @@  discard block
 block discarded – undo
139 149
 
140 150
     /**
141 151
      * @param string|null $localeCode
152
+     * @return void
142 153
      */
143 154
     public function setLocaleCode(?string $localeCode): void;
144 155
 
145 156
     /**
146 157
      * @param BaseCouponInterface|null $coupon
158
+     * @return void
147 159
      */
148 160
     public function setPromotionCoupon(?BaseCouponInterface $coupon): void;
149 161
 
@@ -154,6 +166,7 @@  discard block
 block discarded – undo
154 166
 
155 167
     /**
156 168
      * @param string|null $state
169
+     * @return void
157 170
      */
158 171
     public function setShippingState(?string $state): void;
159 172
 
@@ -186,6 +199,7 @@  discard block
 block discarded – undo
186 199
 
187 200
     /**
188 201
      * @param string|null $tokenValue
202
+     * @return void
189 203
      */
190 204
     public function setTokenValue(?string $tokenValue): void;
191 205
 
@@ -196,6 +210,7 @@  discard block
 block discarded – undo
196 210
 
197 211
     /**
198 212
      * @param string|null $customerIp
213
+     * @return void
199 214
      */
200 215
     public function setCustomerIp(?string $customerIp): void;
201 216
 }
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 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\Core\Model;
15 15
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * @param AddressInterface|null $address
46 46
      */
47
-    public function setShippingAddress(?AddressInterface $address): void;
47
+    public function setShippingAddress(?AddressInterface $address) : void;
48 48
 
49 49
     /**
50 50
      * @return AddressInterface|null
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * @param AddressInterface|null $address
56 56
      */
57
-    public function setBillingAddress(?AddressInterface $address): void;
57
+    public function setBillingAddress(?AddressInterface $address) : void;
58 58
 
59 59
     /**
60 60
      * @return string|null
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * @param string|null $checkoutState
66 66
      */
67
-    public function setCheckoutState(?string $checkoutState): void;
67
+    public function setCheckoutState(?string $checkoutState) : void;
68 68
 
69 69
     /**
70 70
      * @return string|null
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * @param string|null $paymentState
76 76
      */
77
-    public function setPaymentState(?string $paymentState): void;
77
+    public function setPaymentState(?string $paymentState) : void;
78 78
 
79 79
     /**
80 80
      * @return Collection|OrderItemUnitInterface[]
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * @param string|null $currencyCode
132 132
      */
133
-    public function setCurrencyCode(?string $currencyCode): void;
133
+    public function setCurrencyCode(?string $currencyCode) : void;
134 134
 
135 135
     /**
136 136
      * @return string|null
@@ -140,12 +140,12 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * @param string|null $localeCode
142 142
      */
143
-    public function setLocaleCode(?string $localeCode): void;
143
+    public function setLocaleCode(?string $localeCode) : void;
144 144
 
145 145
     /**
146 146
      * @param BaseCouponInterface|null $coupon
147 147
      */
148
-    public function setPromotionCoupon(?BaseCouponInterface $coupon): void;
148
+    public function setPromotionCoupon(?BaseCouponInterface $coupon) : void;
149 149
 
150 150
     /**
151 151
      * @return string|null
@@ -155,14 +155,14 @@  discard block
 block discarded – undo
155 155
     /**
156 156
      * @param string|null $state
157 157
      */
158
-    public function setShippingState(?string $state): void;
158
+    public function setShippingState(?string $state) : void;
159 159
 
160 160
     /**
161 161
      * @param string|null $state
162 162
      *
163 163
      * @return PaymentInterface|null
164 164
      */
165
-    public function getLastPayment(?string $state = null): ?PaymentInterface;
165
+    public function getLastPayment(?string $state = null) : ?PaymentInterface;
166 166
 
167 167
     /**
168 168
      * @return int
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * @param string|null $tokenValue
189 189
      */
190
-    public function setTokenValue(?string $tokenValue): void;
190
+    public function setTokenValue(?string $tokenValue) : void;
191 191
 
192 192
     /**
193 193
      * @return string|null
@@ -197,5 +197,5 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * @param string|null $customerIp
199 199
      */
200
-    public function setCustomerIp(?string $customerIp): void;
200
+    public function setCustomerIp(?string $customerIp) : void;
201 201
 }
Please login to merge, or discard this patch.