Completed
Push — master ( a44c39...fb429b )
by Nikita
06:22 queued 03:55
created
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
 
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     {
165 165
         try {
166 166
             $content = $this->doSendRequest($method, $uri, $body);
167
-        } catch (TransferException $e) {
167
+        }catch (TransferException $e) {
168 168
             if ($e->getResponse() && $e->getResponse()->getStatusCode() === 401 && !$this->apiTokenFresh) {
169 169
                 $this->resetApiToken();
170 170
 
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 
198 198
         try {
199 199
             $response = $this->getHttpClient()->sendRequest($request);
200
-        } catch (HttpTransferException $e) {
200
+        }catch (HttpTransferException $e) {
201 201
             throw new TransferException(
202 202
                 $e->getMessage(),
203 203
                 $request,
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 
262 262
         try {
263 263
             $data = $this->sendRequest('POST', '/login_check', ['api_key' => $this->apiKey], false);
264
-        } catch (TransferException $e) {
264
+        }catch (TransferException $e) {
265 265
             throw new AuthenficationException('Could not request a token.');
266 266
         }
267 267
 
Please login to merge, or discard this patch.
src/Message/User/UserPostMessage.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\User;
5 5
 
Please login to merge, or discard this patch.
src/Message/Company/CompanyPostMessage.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\Company;
5 5
 
Please login to merge, or discard this patch.
src/Message/LocaleAwareMessageTrait.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;
5 5
 
Please login to merge, or discard this patch.
src/Message/CallTracking/CallTrackingPostMessage.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\CallTracking;
5 5
 
Please login to merge, or discard this patch.
src/Message/Location/AbstractLocationMessage.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\Location;
5 5
 
Please login to merge, or discard this patch.
src/Message/Article/ArticleListMessage.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\Article;
5 5
 
Please login to merge, or discard this patch.
src/Message/Article/ArticlePatchMessage.php 1 patch
Spacing   +2 added lines, -2 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\Message\Article;
5 5
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $message->setMediaLimit($article->getMediaLimit());
28 28
         $message->setShareOnFacebook($article->isShareOnFacebook());
29 29
 
30
-        $categoryIds = array_map(function (Category $category) {
30
+        $categoryIds = array_map(function(Category $category) {
31 31
             return $category->getId();
32 32
         }, $article->getCategories());
33 33
 
Please login to merge, or discard this patch.
src/Message/Field/FieldPostMessage.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\Field;
5 5
 
Please login to merge, or discard this patch.