Completed
Pull Request — 2.0 (#1078)
by Claudio
03:09
created
src/Swagger/Serializer/DocumentationNormalizer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     /**
179 179
      * @param \ArrayObject     $pathOperation
180
-     * @param array            $mimeTypes
180
+     * @param string[]            $mimeTypes
181 181
      * @param string           $operationType
182 182
      * @param ResourceMetadata $resourceMetadata
183 183
      * @param string           $resourceClass
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 
233 233
     /**
234 234
      * @param \ArrayObject     $pathOperation
235
-     * @param array            $mimeTypes
235
+     * @param string[]            $mimeTypes
236 236
      * @param string           $operationType
237 237
      * @param ResourceMetadata $resourceMetadata
238 238
      * @param string           $resourceClass
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 
268 268
     /**
269 269
      * @param \ArrayObject     $pathOperation
270
-     * @param array            $mimeTypes
270
+     * @param string[]            $mimeTypes
271 271
      * @param string           $operationType
272 272
      * @param ResourceMetadata $resourceMetadata
273 273
      * @param string           $resourceClass
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Filter/OrderFilter.php 1 patch
Spacing   +2 added lines, -2 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\Bridge\Doctrine\Orm\Filter;
15 15
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack, string $orderParameterName, LoggerInterface $logger = null, array $properties = null)
57 57
     {
58 58
         if (null !== $properties) {
59
-            $properties = array_map(function ($propertyOptions) {
59
+            $properties = array_map(function($propertyOptions) {
60 60
                 // shorthand for default direction
61 61
                 if (is_string($propertyOptions)) {
62 62
                     $propertyOptions = [
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Util/IdentifierManagerTrait.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\Bridge\Doctrine\Orm\Util;
15 15
 
Please login to merge, or discard this patch.
src/DataProvider/ChainSubresourceDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/Api/OperationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/Api/OperationTypeDeprecationHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/SubresourceDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/DataProvider/SubresourceDataProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/Api/IdentifiersExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the API Platform project.
Please login to merge, or discard this patch.