Completed
Push — master ( 219da4...020dbf )
by Kévin
06:06
created
src/Swagger/Serializer/DocumentationNormalizer.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
     /**
171 171
      * @param \ArrayObject     $pathOperation
172
-     * @param array            $mimeTypes
172
+     * @param string[]            $mimeTypes
173 173
      * @param bool             $collection
174 174
      * @param ResourceMetadata $resourceMetadata
175 175
      * @param string           $resourceClass
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 
220 220
     /**
221 221
      * @param \ArrayObject     $pathOperation
222
-     * @param array            $mimeTypes
222
+     * @param string[]            $mimeTypes
223 223
      * @param bool             $collection
224 224
      * @param ResourceMetadata $resourceMetadata
225 225
      * @param string           $resourceClass
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 
255 255
     /**
256 256
      * @param \ArrayObject     $pathOperation
257
-     * @param array            $mimeTypes
257
+     * @param string[]            $mimeTypes
258 258
      * @param bool             $collection
259 259
      * @param ResourceMetadata $resourceMetadata
260 260
      * @param string           $resourceClass
Please login to merge, or discard this 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\Swagger\Serializer;
15 15
 
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
         }
359 359
 
360 360
         if (!isset($definitions[$definitionKey])) {
361
-            $definitions[$definitionKey] = [];  // Initialize first to prevent infinite loop
361
+            $definitions[$definitionKey] = []; // Initialize first to prevent infinite loop
362 362
             $definitions[$definitionKey] = $this->getDefinitionSchema($resourceClass, $resourceMetadata, $definitions, $serializerContext);
363 363
         }
364 364
 
Please login to merge, or discard this patch.
src/Hal/Serializer/ItemNormalizer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
      * @param string|null $format
202 202
      * @param array       $context
203 203
      *
204
-     * @return bool|string
204
+     * @return string|false
205 205
      */
206 206
     private function getHalCacheKey(string $format = null, array $context)
207 207
     {
Please login to merge, or discard this 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\Hal\Serializer;
15 15
 
Please login to merge, or discard this patch.
src/Hal/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\Hal\Serializer;
15 15
 
Please login to merge, or discard this patch.
src/Documentation/Documentation.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\Documentation;
15 15
 
Please login to merge, or discard this patch.
src/Documentation/Action/DocumentationAction.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\Documentation\Action;
15 15
 
Please login to merge, or discard this patch.
src/Annotation/ApiProperty.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\Annotation;
15 15
 
Please login to merge, or discard this patch.
src/Hydra/EventListener/AddLinkHeaderListener.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\Hydra\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/Hydra/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\Hydra\Serializer;
15 15
 
Please login to merge, or discard this patch.
src/DataProvider/CollectionDataProviderInterface.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\DataProvider;
15 15
 
Please login to merge, or discard this patch.