@@ -1,6 +1,6 @@ discard block |
||
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 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * @return int |
86 | 86 | */ |
87 | - public function getShowLanguage(): ?int |
|
87 | + public function getShowLanguage(): ? int |
|
88 | 88 | { |
89 | 89 | return $this->showLanguage; |
90 | 90 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * @param int $showLanguage |
94 | 94 | */ |
95 | - public function setShowLanguage(?int $showLanguage) |
|
95 | + public function setShowLanguage(? int $showLanguage) |
|
96 | 96 | { |
97 | 97 | $this->showLanguage = $showLanguage; |
98 | 98 | } |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * @return string |
102 | 102 | */ |
103 | - public function getSiteLanguage(): ?string |
|
103 | + public function getSiteLanguage(): ? string |
|
104 | 104 | { |
105 | 105 | return $this->siteLanguage; |
106 | 106 | } |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * @param string $siteLanguage |
110 | 110 | */ |
111 | - public function setSiteLanguage(?string $siteLanguage) |
|
111 | + public function setSiteLanguage(? string $siteLanguage) |
|
112 | 112 | { |
113 | 113 | $this->siteLanguage = $siteLanguage; |
114 | 114 | } |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * @return int|null |
118 | 118 | */ |
119 | - public function getMerchantId(): ?int |
|
119 | + public function getMerchantId(): ? int |
|
120 | 120 | { |
121 | 121 | return $this->merchantId; |
122 | 122 | } |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * @param int|null $merchantId |
126 | 126 | */ |
127 | - public function setMerchantId(?int $merchantId) |
|
127 | + public function setMerchantId(? int $merchantId) |
|
128 | 128 | { |
129 | 129 | $this->merchantId = $merchantId; |
130 | 130 | } |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * @return string |
134 | 134 | */ |
135 | - public function getStatus(): ?string |
|
135 | + public function getStatus(): ? string |
|
136 | 136 | { |
137 | 137 | return $this->status; |
138 | 138 | } |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * @param string $status |
142 | 142 | */ |
143 | - public function setStatus(?string $status) |
|
143 | + public function setStatus(? string $status) |
|
144 | 144 | { |
145 | 145 | $this->status = $status; |
146 | 146 | } |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | /** |
149 | 149 | * @return string |
150 | 150 | */ |
151 | - public function getType(): ?string |
|
151 | + public function getType(): ? string |
|
152 | 152 | { |
153 | 153 | return $this->type; |
154 | 154 | } |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * @param string $type |
158 | 158 | */ |
159 | - public function setType(?string $type) |
|
159 | + public function setType(? string $type) |
|
160 | 160 | { |
161 | 161 | $this->type = $type; |
162 | 162 | } |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * @return string |
166 | 166 | */ |
167 | - public function getUrl(): ?string |
|
167 | + public function getUrl(): ? string |
|
168 | 168 | { |
169 | 169 | return $this->url; |
170 | 170 | } |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | /** |
173 | 173 | * @param string $url |
174 | 174 | */ |
175 | - public function setUrl(?string $url) |
|
175 | + public function setUrl(? string $url) |
|
176 | 176 | { |
177 | 177 | $this->url = $url; |
178 | 178 | } |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | /** |
181 | 181 | * @return string |
182 | 182 | */ |
183 | - public function getShortName(): ?string |
|
183 | + public function getShortName(): ? string |
|
184 | 184 | { |
185 | 185 | return $this->shortName; |
186 | 186 | } |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | /** |
189 | 189 | * @param string $shortName |
190 | 190 | */ |
191 | - public function setShortName(?string $shortName) |
|
191 | + public function setShortName(? string $shortName) |
|
192 | 192 | { |
193 | 193 | $this->shortName = $shortName; |
194 | 194 | } |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | /** |
197 | 197 | * @return int |
198 | 198 | */ |
199 | - public function getDesignId(): ?int |
|
199 | + public function getDesignId(): ? int |
|
200 | 200 | { |
201 | 201 | return $this->designId; |
202 | 202 | } |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | /** |
205 | 205 | * @param int $designId |
206 | 206 | */ |
207 | - public function setDesignId(?int $designId) |
|
207 | + public function setDesignId(? int $designId) |
|
208 | 208 | { |
209 | 209 | $this->designId = $designId; |
210 | 210 | } |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | /** |
213 | 213 | * @return int |
214 | 214 | */ |
215 | - public function getAntifraudId(): ?int |
|
215 | + public function getAntifraudId(): ? int |
|
216 | 216 | { |
217 | 217 | return $this->antifraudId; |
218 | 218 | } |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | /** |
221 | 221 | * @param int $antifraudId |
222 | 222 | */ |
223 | - public function setAntifraudId(?int $antifraudId) |
|
223 | + public function setAntifraudId(? int $antifraudId) |
|
224 | 224 | { |
225 | 225 | $this->antifraudId = $antifraudId; |
226 | 226 | } |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | /** |
229 | 229 | * @return string |
230 | 230 | */ |
231 | - public function getOfferCountry(): ?string |
|
231 | + public function getOfferCountry(): ? string |
|
232 | 232 | { |
233 | 233 | return $this->offerCountry; |
234 | 234 | } |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | /** |
237 | 237 | * @param string $offerCountry |
238 | 238 | */ |
239 | - public function setOfferCountry(?string $offerCountry) |
|
239 | + public function setOfferCountry(? string $offerCountry) |
|
240 | 240 | { |
241 | 241 | $this->offerCountry = $offerCountry; |
242 | 242 | } |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | /** |
245 | 245 | * @return int |
246 | 246 | */ |
247 | - public function getTariffId(): ?int |
|
247 | + public function getTariffId(): ? int |
|
248 | 248 | { |
249 | 249 | return $this->tariffId; |
250 | 250 | } |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | /** |
253 | 253 | * @param int $tariffId |
254 | 254 | */ |
255 | - public function setTariffId(?int $tariffId) |
|
255 | + public function setTariffId(? int $tariffId) |
|
256 | 256 | { |
257 | 257 | $this->tariffId = $tariffId; |
258 | 258 | } |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * @return string |
262 | 262 | */ |
263 | - public function getXFrameOption(): ?string |
|
263 | + public function getXFrameOption(): ? string |
|
264 | 264 | { |
265 | 265 | return $this->xFrameOption; |
266 | 266 | } |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | /** |
269 | 269 | * @param string $xFrameOption |
270 | 270 | */ |
271 | - public function setXFrameOption(?string $xFrameOption) |
|
271 | + public function setXFrameOption(? string $xFrameOption) |
|
272 | 272 | { |
273 | 273 | $this->xFrameOption = $xFrameOption; |
274 | 274 | } |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | /** |
277 | 277 | * @return string |
278 | 278 | */ |
279 | - public function getUrlAlias(): ?string |
|
279 | + public function getUrlAlias(): ? string |
|
280 | 280 | { |
281 | 281 | return $this->urlAlias; |
282 | 282 | } |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | /** |
285 | 285 | * @param string $urlAlias |
286 | 286 | */ |
287 | - public function setUrlAlias(?string $urlAlias) |
|
287 | + public function setUrlAlias(? string $urlAlias) |
|
288 | 288 | { |
289 | 289 | $this->urlAlias = $urlAlias; |
290 | 290 | } |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | /** |
293 | 293 | * @return Tariff |
294 | 294 | */ |
295 | - public function getTariff(): ?Tariff |
|
295 | + public function getTariff(): ? Tariff |
|
296 | 296 | { |
297 | 297 | return $this->tariff; |
298 | 298 | } |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | /** |
301 | 301 | * @param Tariff $tariff |
302 | 302 | */ |
303 | - public function setTariff(?Tariff $tariff) |
|
303 | + public function setTariff(? Tariff $tariff) |
|
304 | 304 | { |
305 | 305 | $this->tariff = $tariff; |
306 | 306 | } |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | /** |
309 | 309 | * @return Product[] |
310 | 310 | */ |
311 | - public function getProducts(): ?array |
|
311 | + public function getProducts(): ? array |
|
312 | 312 | { |
313 | 313 | return $this->products; |
314 | 314 | } |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | /** |
317 | 317 | * @param Product[] $products |
318 | 318 | */ |
319 | - public function setProducts(?array $products) |
|
319 | + public function setProducts(? array $products) |
|
320 | 320 | { |
321 | 321 | $this->products = $products; |
322 | 322 | } |
@@ -1,6 +1,6 @@ discard block |
||
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 | |
@@ -19,32 +19,32 @@ discard block |
||
19 | 19 | private $siteId; |
20 | 20 | private $site; |
21 | 21 | |
22 | - public function getType(): ?string |
|
22 | + public function getType(): ? string |
|
23 | 23 | { |
24 | 24 | return $this->type; |
25 | 25 | } |
26 | 26 | |
27 | - public function setType(?string $type): void |
|
27 | + public function setType(? string $type) : void |
|
28 | 28 | { |
29 | 29 | $this->type = $type; |
30 | 30 | } |
31 | 31 | |
32 | - public function getPrice(): ?float |
|
32 | + public function getPrice(): ? float |
|
33 | 33 | { |
34 | 34 | return $this->price; |
35 | 35 | } |
36 | 36 | |
37 | - public function setPrice(?float $price): void |
|
37 | + public function setPrice(? float $price) : void |
|
38 | 38 | { |
39 | 39 | $this->price = $price; |
40 | 40 | } |
41 | 41 | |
42 | - public function getDescription(): ?string |
|
42 | + public function getDescription(): ? string |
|
43 | 43 | { |
44 | 44 | return $this->description; |
45 | 45 | } |
46 | 46 | |
47 | - public function setDescription(?string $description): void |
|
47 | + public function setDescription(? string $description) : void |
|
48 | 48 | { |
49 | 49 | $this->description = $description; |
50 | 50 | } |
@@ -59,42 +59,42 @@ discard block |
||
59 | 59 | $this->allowRandomPrice = $allowRandomPrice; |
60 | 60 | } |
61 | 61 | |
62 | - public function getFields(): ?string |
|
62 | + public function getFields(): ? string |
|
63 | 63 | { |
64 | 64 | return $this->fields; |
65 | 65 | } |
66 | 66 | |
67 | - public function setFields(?string $fields): void |
|
67 | + public function setFields(? string $fields) : void |
|
68 | 68 | { |
69 | 69 | $this->fields = $fields; |
70 | 70 | } |
71 | 71 | |
72 | - public function getCurrencyId(): ?int |
|
72 | + public function getCurrencyId(): ? int |
|
73 | 73 | { |
74 | 74 | return $this->currencyId; |
75 | 75 | } |
76 | 76 | |
77 | - public function setCurrencyId(?int $currencyId): void |
|
77 | + public function setCurrencyId(? int $currencyId) : void |
|
78 | 78 | { |
79 | 79 | $this->currencyId = $currencyId; |
80 | 80 | } |
81 | 81 | |
82 | - public function getSiteId(): ?int |
|
82 | + public function getSiteId(): ? int |
|
83 | 83 | { |
84 | 84 | return $this->siteId; |
85 | 85 | } |
86 | 86 | |
87 | - public function setSiteId(?int $siteId): void |
|
87 | + public function setSiteId(? int $siteId) : void |
|
88 | 88 | { |
89 | 89 | $this->siteId = $siteId; |
90 | 90 | } |
91 | 91 | |
92 | - public function getSite(): ?Site |
|
92 | + public function getSite(): ? Site |
|
93 | 93 | { |
94 | 94 | return $this->site; |
95 | 95 | } |
96 | 96 | |
97 | - public function setSite(?Site $site): void |
|
97 | + public function setSite(? Site $site) : void |
|
98 | 98 | { |
99 | 99 | $this->site = $site; |
100 | 100 | } |