Completed
Pull Request — 2.0 (#996)
by Antoine
05:45 queued 02:31
created
src/Swagger/Serializer/DocumentationNormalizer.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\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.