Completed
Push — 1.1-csrf-token-user ( e22bcb...d4c2fb )
by Kamil
17:31
created
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.
src/Sylius/Behat/Page/Admin/Order/UpdatePageInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -20,11 +20,13 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param AddressInterface $address
23
+     * @return void
23 24
      */
24 25
     public function specifyShippingAddress(AddressInterface $address);
25 26
 
26 27
     /**
27 28
      * @param AddressInterface $address
29
+     * @return void
28 30
      */
29 31
     public function specifyBillingAddress(AddressInterface $address);
30 32
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingCategory/CreatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,16 +19,19 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param string $code
22
+     * @return void
22 23
      */
23 24
     public function specifyCode($code);
24 25
 
25 26
     /**
26 27
      * @param string $name
28
+     * @return void
27 29
      */
28 30
     public function nameIt($name);
29 31
 
30 32
     /**
31 33
      * @param string $description
34
+     * @return void
32 35
      */
33 36
     public function specifyDescription($description);
34 37
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,10 +87,10 @@
 block discarded – undo
87 87
         if (isset($sorting['price'])) {
88 88
             // Another hack, the subquery to get the first position variant
89 89
             $subQuery = $this->createQueryBuilder('m')
90
-                 ->select('min(v.position)')
91
-                 ->innerJoin('m.variants', 'v')
92
-                 ->andWhere('m.id = :product_id')
93
-             ;
90
+                    ->select('min(v.position)')
91
+                    ->innerJoin('m.variants', 'v')
92
+                    ->andWhere('m.id = :product_id')
93
+                ;
94 94
 
95 95
             $queryBuilder
96 96
                 ->innerJoin('o.variants', 'variant')
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Cart/Context/ShopBasedCartContext.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,8 @@
 block discarded – undo
103 103
         }
104 104
     }
105 105
 
106
-    public function reset() {
106
+    public function reset()
107
+    {
107 108
         $this->cart = null;
108 109
     }
109 110
 }
Please login to merge, or discard this patch.