Completed
Push — master ( f95229...017b93 )
by Nikita
13:15
created
src/Message/Media/MediaUploadFileMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Media;
5 5
 
Please login to merge, or discard this patch.
src/Message/Media/MediaUploadMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Media;
5 5
 
Please login to merge, or discard this patch.
src/Message/Media/MediaDynamicUrlMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Media;
5 5
 
Please login to merge, or discard this patch.
src/Client/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Client;
5 5
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     {
172 172
         try {
173 173
             $content = $this->doSendRequest($method, $uri, $body, $headers);
174
-        } catch (TransferException $e) {
174
+        }catch (TransferException $e) {
175 175
             if ($e->getResponse() && $e->getResponse()->getStatusCode() === 401 && !$this->apiTokenFresh) {
176 176
                 $this->resetApiToken();
177 177
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 
209 209
         try {
210 210
             $response = $this->getHttpClient()->sendRequest($request);
211
-        } catch (HttpTransferException $e) {
211
+        }catch (HttpTransferException $e) {
212 212
             throw new TransferException(
213 213
                 $e->getMessage(),
214 214
                 $request,
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 
273 273
         try {
274 274
             $data = $this->sendRequest('POST', '/login_check', ['api_key' => $this->apiKey], [], false);
275
-        } catch (TransferException $e) {
275
+        }catch (TransferException $e) {
276 276
             throw new AuthenficationException('Could not request a token.');
277 277
         }
278 278
 
Please login to merge, or discard this patch.