@@ -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 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @param array $parameters |
59 | 59 | * @return Country|null |
60 | 60 | */ |
61 | - public function getCountry(int $id, array $parameters = []): ?Country |
|
61 | + public function getCountry(int $id, array $parameters = []): ? Country |
|
62 | 62 | { |
63 | 63 | $response = $this->makeRequest('GET', 'countries/'.$id, $parameters); |
64 | 64 | |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * @param array $parameters |
86 | 86 | * @return Currency|null |
87 | 87 | */ |
88 | - public function getCurrency(int $id, array $parameters = []): ?Currency |
|
88 | + public function getCurrency(int $id, array $parameters = []): ? Currency |
|
89 | 89 | { |
90 | 90 | $response = $this->makeRequest('GET', 'currencies/'.$id, $parameters); |
91 | 91 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * @param array $parameters |
113 | 113 | * @return Merchant|null |
114 | 114 | */ |
115 | - public function getMerchant(int $id, array $parameters = []): ?Merchant |
|
115 | + public function getMerchant(int $id, array $parameters = []): ? Merchant |
|
116 | 116 | { |
117 | 117 | $response = $this->makeRequest('GET', 'merchants/'.$id, $parameters); |
118 | 118 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | * |
144 | 144 | * @return Site|null |
145 | 145 | */ |
146 | - public function getSite(Merchant $merchant, int $id, array $parameters = []): ?Site |
|
146 | + public function getSite(Merchant $merchant, int $id, array $parameters = []): ? Site |
|
147 | 147 | { |
148 | 148 | $response = $this->makeRequest('GET', 'merchants/'.$merchant->getId().'/sites/'.$id, $parameters); |
149 | 149 | |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | * @param array $parameters |
179 | 179 | * @return Product|null |
180 | 180 | */ |
181 | - public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ?Product |
|
181 | + public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ? Product |
|
182 | 182 | { |
183 | 183 | $response = $this->makeRequest( |
184 | 184 | 'GET', |