Completed
Pull Request — master (#691)
by Han Hui
10:48 queued 03:47
created
src/Swagger/Serializer/DocumentationNormalizer.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -314,8 +314,7 @@
 block discarded – undo
314 314
         $valueType = $type->isCollection() ? $type->getCollectionValueType() : $type;
315 315
 
316 316
         switch ($valueType ? $valueType->getBuiltinType() : null) {
317
-            case Type::BUILTIN_TYPE_STRING:
318
-                $valueSchema['type'] = 'string';
317
+            case Type::BUILTIN_TYPE_STRING : $valueSchema['type'] = 'string';
319 318
                 break;
320 319
 
321 320
             case Type::BUILTIN_TYPE_INT:
Please login to merge, or discard this patch.