Completed
Push — master ( 99e196...2d8856 )
by Vladimir
27:17 queued 12:39
created
src/Exceptions/BaseException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Exceptions;
6 6
 
Please login to merge, or discard this patch.
src/Api.php 1 patch
Spacing   +3 added lines, -3 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;
6 6
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
             switch ($response->getStatusCode()) {
146 146
                 case 404:
147
-                    throw new NotFoundException((string)$response->getBody());
147
+                    throw new NotFoundException((string) $response->getBody());
148 148
                 case 403:
149 149
                     throw new ForbiddenException;
150 150
                 default:
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
     protected function token(): ?string
193 193
     {
194
-        return $this->cache->remember('acquiropay_api_token_'.md5($this->url), 10, function () {
194
+        return $this->cache->remember('acquiropay_api_token_'.md5($this->url), 10, function() {
195 195
             $response = $this->http->post(
196 196
                 $this->url.'/login',
197 197
                 ['form_params' => ['username' => $this->username, 'password' => $this->password]]
Please login to merge, or discard this patch.