Completed
Pull Request — master (#1036)
by Hector
03:15
created
src/JsonApi/Serializer/ErrorNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\JsonApi\Serializer;
15 15
 
Please login to merge, or discard this patch.
src/JsonApi/Serializer/CollectionNormalizer.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\JsonApi\Serializer;
15 15
 
@@ -193,8 +193,7 @@  discard block
 block discarded – undo
193 193
 
194 194
         if (is_array($data) || $data instanceof \Countable) {
195 195
             $returnDataArray['meta']['totalItems'] = $data instanceof PaginatorInterface ?
196
-                (int) $data->getTotalItems() :
197
-                count($data);
196
+                (int) $data->getTotalItems() : count($data);
198 197
         }
199 198
 
200 199
         if ($isPaginator) {
Please login to merge, or discard this patch.
src/JsonApi/EventListener/TransformSortingParametersListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\JsonApi\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/JsonApi/Serializer/EntrypointNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\JsonApi\Serializer;
15 15
 
Please login to merge, or discard this patch.
src/JsonApi/Serializer/ConstraintViolationListNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\JsonApi\Serializer;
15 15
 
Please login to merge, or discard this patch.
src/JsonApi/EventListener/TransformFilteringParametersListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\JsonApi\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/JsonApi/EventListener/FlattenPaginationParametersListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\JsonApi\EventListener;
15 15
 
Please login to merge, or discard this patch.