Completed
Pull Request — master (#4)
by Rémi
06:39
created
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.
src/Message/Site/PlatformChildrenListMessage.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\Site;
5 5
 
Please login to merge, or discard this patch.
src/Factory/ModelFactory.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\Factory;
5 5
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function createMany(string $class, array $list): array
31 31
     {
32
-        return array_map(function (array $data) use ($class) {
32
+        return array_map(function(array $data) use ($class) {
33 33
             return self::create($class, $data);
34 34
         }, $list);
35 35
     }
Please login to merge, or discard this patch.
src/Message/MessageInterface.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/Article/CategoryListMessage.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.