Code Duplication    Length = 4-4 lines in 2 locations

src/Mpociot/ApiDoc/Generators/AbstractGenerator.php 2 locations

@@ 273-276 (lines=4) @@
270
                $attributeData['type'] = 'numeric';
271
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
272
                break;
273
            case 'file':
274
                $attributeData['type'] = 'file';
275
                $attributeData['description'][] = Description::parse($rule)->getDescription();
276
                break;
277
            case 'image':
278
                $attributeData['type'] = 'image';
279
                $attributeData['description'][] = Description::parse($rule)->getDescription();
@@ 277-280 (lines=4) @@
274
                $attributeData['type'] = 'file';
275
                $attributeData['description'][] = Description::parse($rule)->getDescription();
276
                break;
277
            case 'image':
278
                $attributeData['type'] = 'image';
279
                $attributeData['description'][] = Description::parse($rule)->getDescription();
280
                break;
281
            case 'json':
282
                $attributeData['type'] = 'string';
283
                $attributeData['description'][] = Description::parse($rule)->getDescription();