Completed
Push — master ( 245a8a...f0e674 )
by Kamil
47:42 queued 24:32
created
src/Sylius/Component/Order/Model/OrderInterface.php 1 patch
Spacing   +7 added lines, -7 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\Order\Model;
15 15
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * @param \DateTimeInterface|null $checkoutCompletedAt
34 34
      */
35
-    public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
35
+    public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt) : void;
36 36
 
37 37
     /**
38 38
      * @return bool
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * @param string|null $number
51 51
      */
52
-    public function setNumber(?string $number): void;
52
+    public function setNumber(?string $number) : void;
53 53
 
54 54
     /**
55 55
      * @return string|null
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * @param string|null $notes
61 61
      */
62
-    public function setNotes(?string $notes): void;
62
+    public function setNotes(?string $notes) : void;
63 63
 
64 64
     /**
65 65
      * @return Collection|OrderItemInterface[]
@@ -127,17 +127,17 @@  discard block
 block discarded – undo
127 127
      *
128 128
      * @return Collection|AdjustmentInterface[]
129 129
      */
130
-    public function getAdjustmentsRecursively(?string $type = null): Collection;
130
+    public function getAdjustmentsRecursively(?string $type = null) : Collection;
131 131
 
132 132
     /**
133 133
      * @param string|null $type
134 134
      *
135 135
      * @return int
136 136
      */
137
-    public function getAdjustmentsTotalRecursively(?string $type = null): int;
137
+    public function getAdjustmentsTotalRecursively(?string $type = null) : int;
138 138
 
139 139
     /**
140 140
      * @param string|null $type
141 141
      */
142
-    public function removeAdjustmentsRecursively(?string $type = null): void;
142
+    public function removeAdjustmentsRecursively(?string $type = null) : void;
143 143
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductTaxonInterface.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\Core\Model;
15 15
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * @param ProductInterface|null $product
27 27
      */
28
-    public function setProduct(?ProductInterface $product): void;
28
+    public function setProduct(?ProductInterface $product) : void;
29 29
 
30 30
     /**
31 31
      * @return TaxonInterface|null
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @param TaxonInterface|null $taxon
37 37
      */
38
-    public function setTaxon(?TaxonInterface $taxon): void;
38
+    public function setTaxon(?TaxonInterface $taxon) : void;
39 39
 
40 40
     /**
41 41
      * @return int|null
@@ -45,5 +45,5 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * @param int|null $position
47 47
      */
48
-    public function setPosition(?int $position): void;
48
+    public function setPosition(?int $position) : void;
49 49
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderInterface.php 1 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.