Completed
Push — 1.1-deduplicate-catch ( 4e7288 )
by Kamil
536:15 queued 519:07
created
web/app_dev.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server')
30 30
 )) {
31 31
     header('HTTP/1.0 403 Forbidden');
32
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
32
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
33 33
 }
34 34
 
35
-require __DIR__.'/../vendor/autoload.php';
35
+require __DIR__ . '/../vendor/autoload.php';
36 36
 
37 37
 Debug::enable();
38 38
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * @param array $data
20
-     * @param array $recipients
20
+     * @param string[] $recipients
21
+     * @return void
21 22
      */
22 23
     public function sendContactRequest(array $data, array $recipients): void;
23 24
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param AddressInterface|null $address
47
+     * @return void
47 48
      */
48 49
     public function setShippingAddress(?AddressInterface $address): void;
49 50
 
@@ -54,6 +55,7 @@  discard block
 block discarded – undo
54 55
 
55 56
     /**
56 57
      * @param AddressInterface|null $address
58
+     * @return void
57 59
      */
58 60
     public function setBillingAddress(?AddressInterface $address): void;
59 61
 
@@ -64,6 +66,7 @@  discard block
 block discarded – undo
64 66
 
65 67
     /**
66 68
      * @param string|null $checkoutState
69
+     * @return void
67 70
      */
68 71
     public function setCheckoutState(?string $checkoutState): void;
69 72
 
@@ -74,6 +77,7 @@  discard block
 block discarded – undo
74 77
 
75 78
     /**
76 79
      * @param string|null $paymentState
80
+     * @return void
77 81
      */
78 82
     public function setPaymentState(?string $paymentState): void;
79 83
 
@@ -106,14 +110,19 @@  discard block
 block discarded – undo
106 110
 
107 111
     /**
108 112
      * @param ShipmentInterface $shipment
113
+     * @return void
109 114
      */
110 115
     public function addShipment(ShipmentInterface $shipment): void;
111 116
 
112 117
     /**
113 118
      * @param ShipmentInterface $shipment
119
+     * @return void
114 120
      */
115 121
     public function removeShipment(ShipmentInterface $shipment): void;
116 122
 
123
+    /**
124
+     * @return void
125
+     */
117 126
     public function removeShipments(): void;
118 127
 
119 128
     /**
@@ -130,6 +139,7 @@  discard block
 block discarded – undo
130 139
 
131 140
     /**
132 141
      * @param string|null $currencyCode
142
+     * @return void
133 143
      */
134 144
     public function setCurrencyCode(?string $currencyCode): void;
135 145
 
@@ -140,11 +150,13 @@  discard block
 block discarded – undo
140 150
 
141 151
     /**
142 152
      * @param string|null $localeCode
153
+     * @return void
143 154
      */
144 155
     public function setLocaleCode(?string $localeCode): void;
145 156
 
146 157
     /**
147 158
      * @param BaseCouponInterface|null $coupon
159
+     * @return void
148 160
      */
149 161
     public function setPromotionCoupon(?BaseCouponInterface $coupon): void;
150 162
 
@@ -155,6 +167,7 @@  discard block
 block discarded – undo
155 167
 
156 168
     /**
157 169
      * @param string|null $state
170
+     * @return void
158 171
      */
159 172
     public function setShippingState(?string $state): void;
160 173
 
@@ -187,6 +200,7 @@  discard block
 block discarded – undo
187 200
 
188 201
     /**
189 202
      * @param string|null $tokenValue
203
+     * @return void
190 204
      */
191 205
     public function setTokenValue(?string $tokenValue): void;
192 206
 
@@ -197,6 +211,7 @@  discard block
 block discarded – undo
197 211
 
198 212
     /**
199 213
      * @param string|null $customerIp
214
+     * @return void
200 215
      */
201 216
     public function setCustomerIp(?string $customerIp): void;
202 217
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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
      */
Please login to merge, or discard this patch.