Completed
Push — master ( 6a4b58...d898c6 )
by
unknown
02:34
created
src/Models/Entities/Product.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -37,32 +37,32 @@  discard block
 block discarded – undo
37 37
     private $payments;
38 38
 
39 39
 
40
-    public function getType(): ?string
40
+    public function getType(): ? string
41 41
     {
42 42
         return $this->type;
43 43
     }
44 44
 
45
-    public function setType(?string $type): void
45
+    public function setType(? string $type) : void
46 46
     {
47 47
         $this->type = $type;
48 48
     }
49 49
 
50
-    public function getPrice(): ?float
50
+    public function getPrice(): ? float
51 51
     {
52 52
         return $this->price;
53 53
     }
54 54
 
55
-    public function setPrice(?float $price): void
55
+    public function setPrice(? float $price) : void
56 56
     {
57 57
         $this->price = $price;
58 58
     }
59 59
 
60
-    public function getDescription(): ?string
60
+    public function getDescription(): ? string
61 61
     {
62 62
         return $this->description;
63 63
     }
64 64
 
65
-    public function setDescription(?string $description): void
65
+    public function setDescription(? string $description) : void
66 66
     {
67 67
         $this->description = $description;
68 68
     }
@@ -77,42 +77,42 @@  discard block
 block discarded – undo
77 77
         $this->allowRandomPrice = $allowRandomPrice;
78 78
     }
79 79
 
80
-    public function getFields(): ?string
80
+    public function getFields(): ? string
81 81
     {
82 82
         return $this->fields;
83 83
     }
84 84
 
85
-    public function setFields(?string $fields): void
85
+    public function setFields(? string $fields) : void
86 86
     {
87 87
         $this->fields = $fields;
88 88
     }
89 89
 
90
-    public function getCurrencyId(): ?int
90
+    public function getCurrencyId(): ? int
91 91
     {
92 92
         return $this->currencyId;
93 93
     }
94 94
 
95
-    public function setCurrencyId(?int $currencyId): void
95
+    public function setCurrencyId(? int $currencyId) : void
96 96
     {
97 97
         $this->currencyId = $currencyId;
98 98
     }
99 99
 
100
-    public function getSiteId(): ?int
100
+    public function getSiteId(): ? int
101 101
     {
102 102
         return $this->siteId;
103 103
     }
104 104
 
105
-    public function setSiteId(?int $siteId): void
105
+    public function setSiteId(? int $siteId) : void
106 106
     {
107 107
         $this->siteId = $siteId;
108 108
     }
109 109
 
110
-    public function getSite(): ?Site
110
+    public function getSite(): ? Site
111 111
     {
112 112
         return $this->site;
113 113
     }
114 114
 
115
-    public function setSite(?Site $site): void
115
+    public function setSite(? Site $site) : void
116 116
     {
117 117
         $this->site = $site;
118 118
     }
@@ -133,32 +133,32 @@  discard block
 block discarded – undo
133 133
         $this->payments = $payments;
134 134
     }
135 135
 
136
-    public function getStatus(): ?string
136
+    public function getStatus(): ? string
137 137
     {
138 138
         return $this->status;
139 139
     }
140 140
 
141
-    public function setStatus(?string $status)
141
+    public function setStatus(? string $status)
142 142
     {
143 143
         $this->status = $status;
144 144
     }
145 145
 
146
-    public function getNotifyUrl(): ?string
146
+    public function getNotifyUrl(): ? string
147 147
     {
148 148
         return $this->notifyUrl;
149 149
     }
150 150
 
151
-    public function setNotifyUrl(?string $notifyUrl)
151
+    public function setNotifyUrl(? string $notifyUrl)
152 152
     {
153 153
         $this->notifyUrl = $notifyUrl;
154 154
     }
155 155
 
156
-    public function getWorkThrough():?string
156
+    public function getWorkThrough(): ? string
157 157
     {
158 158
         return $this->workThrough;
159 159
     }
160 160
 
161
-    public function setWorkThrough(?string $workThrough)
161
+    public function setWorkThrough(? string $workThrough)
162 162
     {
163 163
         $this->workThrough = $workThrough;
164 164
     }
@@ -173,82 +173,82 @@  discard block
 block discarded – undo
173 173
         $this->confirmPaymentType = $confirmPaymentType;
174 174
     }
175 175
 
176
-    public function getNotifyEmail(): ?string
176
+    public function getNotifyEmail(): ? string
177 177
     {
178 178
         return $this->notifyEmail;
179 179
     }
180 180
 
181
-    public function setNotifyEmail(?string $notifyEmail)
181
+    public function setNotifyEmail(? string $notifyEmail)
182 182
     {
183 183
         $this->notifyEmail = $notifyEmail;
184 184
     }
185 185
 
186
-    public function getMessengerNotifyUrl(): ?string
186
+    public function getMessengerNotifyUrl(): ? string
187 187
     {
188 188
         return $this->messengerNotifyUrl;
189 189
     }
190 190
 
191
-    public function setMessengerNotifyUrl(?string $messengerNotifyUrl)
191
+    public function setMessengerNotifyUrl(? string $messengerNotifyUrl)
192 192
     {
193 193
         $this->messengerNotifyUrl = $messengerNotifyUrl;
194 194
     }
195 195
 
196
-    public function getSupportEmail(): ?string
196
+    public function getSupportEmail(): ? string
197 197
     {
198 198
         return $this->supportEmail;
199 199
     }
200 200
 
201
-    public function setSupportEmail(?string $supportEmail)
201
+    public function setSupportEmail(? string $supportEmail)
202 202
     {
203 203
         $this->supportEmail = $supportEmail;
204 204
     }
205 205
 
206
-    public function getSupportPhone(): ?string
206
+    public function getSupportPhone(): ? string
207 207
     {
208 208
         return $this->supportPhone;
209 209
     }
210 210
 
211
-    public function setSupportPhone(?string $supportPhone)
211
+    public function setSupportPhone(? string $supportPhone)
212 212
     {
213 213
         $this->supportPhone = $supportPhone;
214 214
     }
215 215
 
216
-    public function getAccessUrl(): ?string
216
+    public function getAccessUrl(): ? string
217 217
     {
218 218
         return $this->accessUrl;
219 219
     }
220 220
 
221
-    public function setAccessUrl(?string $accessUrl)
221
+    public function setAccessUrl(? string $accessUrl)
222 222
     {
223 223
         $this->accessUrl = $accessUrl;
224 224
     }
225 225
 
226
-    public function getSecretWord(): ?string
226
+    public function getSecretWord(): ? string
227 227
     {
228 228
         return $this->secretWord;
229 229
     }
230 230
 
231
-    public function setSecretWord(?string $secretWord)
231
+    public function setSecretWord(? string $secretWord)
232 232
     {
233 233
         $this->secretWord = $secretWord;
234 234
     }
235 235
 
236
-    public function getAllowRebill():?int
236
+    public function getAllowRebill(): ? int
237 237
     {
238 238
         return $this->allowRebill;
239 239
     }
240 240
 
241
-    public function setAllowRebill(?int $allowRebill)
241
+    public function setAllowRebill(? int $allowRebill)
242 242
     {
243 243
         $this->allowRebill = $allowRebill;
244 244
     }
245 245
 
246
-    public function getUUID(): ?string
246
+    public function getUUID(): ? string
247 247
     {
248 248
         return $this->UUID;
249 249
     }
250 250
 
251
-    public function setUUID(?string $UUID)
251
+    public function setUUID(? string $UUID)
252 252
     {
253 253
         $this->UUID = $UUID;
254 254
     }
Please login to merge, or discard this patch.
src/Models/Entities/Site.php 1 patch
Spacing   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * @return int
91 91
      */
92
-    public function getShowLanguage(): ?int
92
+    public function getShowLanguage(): ? int
93 93
     {
94 94
         return $this->showLanguage;
95 95
     }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * @param int $showLanguage
99 99
      */
100
-    public function setShowLanguage(?int $showLanguage)
100
+    public function setShowLanguage(? int $showLanguage)
101 101
     {
102 102
         $this->showLanguage = $showLanguage;
103 103
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     /**
106 106
      * @return string
107 107
      */
108
-    public function getSiteLanguage(): ?string
108
+    public function getSiteLanguage(): ? string
109 109
     {
110 110
         return $this->siteLanguage;
111 111
     }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * @param string $siteLanguage
115 115
      */
116
-    public function setSiteLanguage(?string $siteLanguage)
116
+    public function setSiteLanguage(? string $siteLanguage)
117 117
     {
118 118
         $this->siteLanguage = $siteLanguage;
119 119
     }
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * @return int|null
123 123
      */
124
-    public function getMerchantId(): ?int
124
+    public function getMerchantId(): ? int
125 125
     {
126 126
         return $this->merchantId;
127 127
     }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * @param int|null $merchantId
131 131
      */
132
-    public function setMerchantId(?int $merchantId)
132
+    public function setMerchantId(? int $merchantId)
133 133
     {
134 134
         $this->merchantId = $merchantId;
135 135
     }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * @return string
139 139
      */
140
-    public function getStatus(): ?string
140
+    public function getStatus(): ? string
141 141
     {
142 142
         return $this->status;
143 143
     }
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     /**
146 146
      * @param string $status
147 147
      */
148
-    public function setStatus(?string $status)
148
+    public function setStatus(? string $status)
149 149
     {
150 150
         $this->status = $status;
151 151
     }
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * @return string
155 155
      */
156
-    public function getType(): ?string
156
+    public function getType(): ? string
157 157
     {
158 158
         return $this->type;
159 159
     }
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * @param string $type
163 163
      */
164
-    public function setType(?string $type)
164
+    public function setType(? string $type)
165 165
     {
166 166
         $this->type = $type;
167 167
     }
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     /**
170 170
      * @return string
171 171
      */
172
-    public function getUrl(): ?string
172
+    public function getUrl(): ? string
173 173
     {
174 174
         return $this->url;
175 175
     }
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      * @param string $url
179 179
      */
180
-    public function setUrl(?string $url)
180
+    public function setUrl(? string $url)
181 181
     {
182 182
         $this->url = $url;
183 183
     }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * @return string
187 187
      */
188
-    public function getShortName(): ?string
188
+    public function getShortName(): ? string
189 189
     {
190 190
         return $this->shortName;
191 191
     }
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     /**
194 194
      * @param string $shortName
195 195
      */
196
-    public function setShortName(?string $shortName)
196
+    public function setShortName(? string $shortName)
197 197
     {
198 198
         $this->shortName = $shortName;
199 199
     }
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     /**
202 202
      * @return int
203 203
      */
204
-    public function getDesignId(): ?int
204
+    public function getDesignId(): ? int
205 205
     {
206 206
         return $this->designId;
207 207
     }
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     /**
210 210
      * @param int $designId
211 211
      */
212
-    public function setDesignId(?int $designId)
212
+    public function setDesignId(? int $designId)
213 213
     {
214 214
         $this->designId = $designId;
215 215
     }
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     /**
218 218
      * @return int
219 219
      */
220
-    public function getAntifraudId(): ?int
220
+    public function getAntifraudId(): ? int
221 221
     {
222 222
         return $this->antifraudId;
223 223
     }
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     /**
226 226
      * @param int $antifraudId
227 227
      */
228
-    public function setAntifraudId(?int $antifraudId)
228
+    public function setAntifraudId(? int $antifraudId)
229 229
     {
230 230
         $this->antifraudId = $antifraudId;
231 231
     }
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     /**
234 234
      * @return string
235 235
      */
236
-    public function getOfferCountry(): ?string
236
+    public function getOfferCountry(): ? string
237 237
     {
238 238
         return $this->offerCountry;
239 239
     }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     /**
242 242
      * @param string $offerCountry
243 243
      */
244
-    public function setOfferCountry(?string $offerCountry)
244
+    public function setOfferCountry(? string $offerCountry)
245 245
     {
246 246
         $this->offerCountry = $offerCountry;
247 247
     }
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     /**
250 250
      * @return int
251 251
      */
252
-    public function getTariffId(): ?int
252
+    public function getTariffId(): ? int
253 253
     {
254 254
         return $this->tariffId;
255 255
     }
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * @param int $tariffId
259 259
      */
260
-    public function setTariffId(?int $tariffId)
260
+    public function setTariffId(? int $tariffId)
261 261
     {
262 262
         $this->tariffId = $tariffId;
263 263
     }
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
     /**
266 266
      * @return string
267 267
      */
268
-    public function getXFrameOption(): ?string
268
+    public function getXFrameOption(): ? string
269 269
     {
270 270
         return $this->xFrameOption;
271 271
     }
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     /**
274 274
      * @param string $xFrameOption
275 275
      */
276
-    public function setXFrameOption(?string $xFrameOption)
276
+    public function setXFrameOption(? string $xFrameOption)
277 277
     {
278 278
         $this->xFrameOption = $xFrameOption;
279 279
     }
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     /**
282 282
      * @return string
283 283
      */
284
-    public function getUrlAlias(): ?string
284
+    public function getUrlAlias(): ? string
285 285
     {
286 286
         return $this->urlAlias;
287 287
     }
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     /**
290 290
      * @param string $urlAlias
291 291
      */
292
-    public function setUrlAlias(?string $urlAlias)
292
+    public function setUrlAlias(? string $urlAlias)
293 293
     {
294 294
         $this->urlAlias = $urlAlias;
295 295
     }
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     /**
298 298
      * @return Tariff
299 299
      */
300
-    public function getTariff(): ?Tariff
300
+    public function getTariff(): ? Tariff
301 301
     {
302 302
         return $this->tariff;
303 303
     }
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
     /**
306 306
      * @param Tariff $tariff
307 307
      */
308
-    public function setTariff(?Tariff $tariff)
308
+    public function setTariff(? Tariff $tariff)
309 309
     {
310 310
         $this->tariff = $tariff;
311 311
     }
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
     /**
314 314
      * @return Product[]
315 315
      */
316
-    public function getProducts(): ?array
316
+    public function getProducts(): ? array
317 317
     {
318 318
         return $this->products;
319 319
     }
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     /**
322 322
      * @param Product[] $products
323 323
      */
324
-    public function setProducts(?array $products)
324
+    public function setProducts(? array $products)
325 325
     {
326 326
         $this->products = $products;
327 327
     }
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     /**
330 330
      * @return Design
331 331
      */
332
-    public function getDesign(): ?Design
332
+    public function getDesign(): ? Design
333 333
     {
334 334
         return $this->design;
335 335
     }
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
     /**
338 338
      * @param Design $design
339 339
      */
340
-    public function setDesign(?Design $design)
340
+    public function setDesign(? Design $design)
341 341
     {
342 342
         $this->design = $design;
343 343
     }
Please login to merge, or discard this patch.
src/Models/Entities/Design.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -22,42 +22,42 @@  discard block
 block discarded – undo
22 22
         $this->status = $status;
23 23
     }
24 24
 
25
-    public function getDescription(): ?string
25
+    public function getDescription(): ? string
26 26
     {
27 27
         return $this->description;
28 28
     }
29 29
 
30
-    public function setDescription(?string $description)
30
+    public function setDescription(? string $description)
31 31
     {
32 32
         $this->description = $description;
33 33
     }
34 34
 
35
-    public function getName(): ?string
35
+    public function getName(): ? string
36 36
     {
37 37
         return $this->name;
38 38
     }
39 39
 
40
-    public function setName(?string $name)
40
+    public function setName(? string $name)
41 41
     {
42 42
         $this->name = $name;
43 43
     }
44 44
 
45
-    public function getTemplatePath(): ?string
45
+    public function getTemplatePath(): ? string
46 46
     {
47 47
         return $this->templatePath;
48 48
     }
49 49
 
50
-    public function setTemplatePath(?string $templatePath)
50
+    public function setTemplatePath(? string $templatePath)
51 51
     {
52 52
         $this->templatePath = $templatePath;
53 53
     }
54 54
 
55
-    public function getLayoutName(): ?string
55
+    public function getLayoutName(): ? string
56 56
     {
57 57
         return $this->layoutName;
58 58
     }
59 59
 
60
-    public function setLayoutName(?string $layoutName)
60
+    public function setLayoutName(? string $layoutName)
61 61
     {
62 62
         $this->layoutName = $layoutName;
63 63
     }
Please login to merge, or discard this patch.