Completed
Push — master ( 433a3a...426398 )
by Nikita
10:06
created
src/Model/Article/CategoryTranslation.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\Model\Article;
5 5
 
Please login to merge, or discard this patch.
src/Model/Article/Article.php 1 patch
Spacing   +5 added lines, -5 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\Model\Article;
5 5
 
@@ -128,19 +128,19 @@  discard block
 block discarded – undo
128 128
      */
129 129
     public function __construct(array $data)
130 130
     {
131
-        $translations = array_map(function (array $data) {
131
+        $translations = array_map(function(array $data) {
132 132
             return new ArticleTranslation($data);
133 133
         }, $data['translations']);
134 134
 
135
-        $categories = array_map(function (array $data) {
135
+        $categories = array_map(function(array $data) {
136 136
             return new Category($data);
137 137
         }, $data['categories']);
138 138
 
139
-        $medias = array_map(function (array $data) {
139
+        $medias = array_map(function(array $data) {
140 140
             return new ArticleMedia($data);
141 141
         }, $data['medias']);
142 142
 
143
-        $routes = array_map(function (string $path, string $locale) {
143
+        $routes = array_map(function(string $path, string $locale) {
144 144
             return new SiteRoute(compact('path', 'locale'));
145 145
         }, array_values($data['routes']), array_keys($data['routes']));
146 146
 
Please login to merge, or discard this patch.
src/Model/ModelInterface.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\Model;
5 5
 
Please login to merge, or discard this patch.
src/Model/Field/Field.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\Model\Field;
5 5
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function __construct(array $data)
59 59
     {
60
-        $translations = array_map(function (array $data, string $locale) {
60
+        $translations = array_map(function(array $data, string $locale) {
61 61
             return new FieldTranslation($data + compact('locale'));
62 62
         }, array_values($data['translations']), array_keys($data['translations']));
63 63
 
Please login to merge, or discard this patch.
src/Model/Field/FieldTranslation.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\Model\Field;
5 5
 
Please login to merge, or discard this patch.
src/Model/Site/SiteRoute.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\Model\Site;
5 5
 
Please login to merge, or discard this patch.
src/Service/UserService.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\Service;
5 5
 
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.