Completed
Push — master ( a1f620...5d560b )
by
unknown
02:15
created
src/Services/Entities.php 1 patch
Spacing   +6 added lines, -6 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\Services;
6 6
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.