@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AcquiroPay\Contracts; |
6 | 6 |
@@ -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,7 +19,7 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * @return int|null |
21 | 21 | */ |
22 | - public function getId(): ?int |
|
22 | + public function getId(): ? int |
|
23 | 23 | { |
24 | 24 | return $this->id; |
25 | 25 | } |
@@ -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 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | /** |
33 | 33 | * @param int $showLanguage |
34 | 34 | */ |
35 | - public function setShowLanguage(?int $showLanguage) |
|
35 | + public function setShowLanguage(? int $showLanguage) |
|
36 | 36 | { |
37 | 37 | $this->showLanguage = $showLanguage; |
38 | 38 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * @param string $siteLanguage |
50 | 50 | */ |
51 | - public function setSiteLanguage(?string $siteLanguage) |
|
51 | + public function setSiteLanguage(? string $siteLanguage) |
|
52 | 52 | { |
53 | 53 | $this->siteLanguage = $siteLanguage; |
54 | 54 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * @return int|null |
58 | 58 | */ |
59 | - public function getMerchantId(): ?int |
|
59 | + public function getMerchantId(): ? int |
|
60 | 60 | { |
61 | 61 | return $this->merchantId; |
62 | 62 | } |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -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 | |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | /** |
336 | 336 | * @return Agent |
337 | 337 | */ |
338 | - public function getAgent(): ?Agent |
|
338 | + public function getAgent(): ? Agent |
|
339 | 339 | { |
340 | 340 | return $this->agent; |
341 | 341 | } |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | /** |
416 | 416 | * @return Tariff |
417 | 417 | */ |
418 | - public function getTariff(): ?Tariff |
|
418 | + public function getTariff(): ? Tariff |
|
419 | 419 | { |
420 | 420 | return $this->tariff; |
421 | 421 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AcquiroPay\Models\Pagination; |
6 | 6 |
@@ -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\Services; |
6 | 6 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * @param array $parameters |
51 | 51 | * @return Country|null |
52 | 52 | */ |
53 | - public function getCountry(int $id, array $parameters = []): ?Country |
|
53 | + public function getCountry(int $id, array $parameters = []): ? Country |
|
54 | 54 | { |
55 | 55 | $response = $this->makeRequest('GET', 'countries/'.$id, $parameters); |
56 | 56 | |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * @param array $parameters |
78 | 78 | * @return Currency|null |
79 | 79 | */ |
80 | - public function getCurrency(int $id, array $parameters = []): ?Currency |
|
80 | + public function getCurrency(int $id, array $parameters = []): ? Currency |
|
81 | 81 | { |
82 | 82 | $response = $this->makeRequest('GET', 'currencies/'.$id, $parameters); |
83 | 83 | |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * @param array $parameters |
118 | 118 | * @return Merchant|null |
119 | 119 | */ |
120 | - public function getMerchant(int $id, array $parameters = []): ?Merchant |
|
120 | + public function getMerchant(int $id, array $parameters = []): ? Merchant |
|
121 | 121 | { |
122 | 122 | $response = $this->makeRequest('GET', 'merchants/'.$id, $parameters); |
123 | 123 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @return Site|null |
150 | 150 | */ |
151 | - public function getSite(Merchant $merchant, int $id, array $parameters = []): ?Site |
|
151 | + public function getSite(Merchant $merchant, int $id, array $parameters = []): ? Site |
|
152 | 152 | { |
153 | 153 | $response = $this->makeRequest('GET', 'merchants/'.$merchant->getId().'/sites/'.$id, $parameters); |
154 | 154 | |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | * |
186 | 186 | * @return Product|null |
187 | 187 | */ |
188 | - public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ?Product |
|
188 | + public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ? Product |
|
189 | 189 | { |
190 | 190 | $response = $this->makeRequest( |
191 | 191 | 'GET', |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AcquiroPay\Models\Pagination; |
6 | 6 |