Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 343-346 (lines=4) @@
340
                $attributeData['type'] = 'numeric';
341
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
342
                break;
343
            case 'file':
344
                $attributeData['type'] = 'file';
345
                $attributeData['description'][] = Description::parse($rule)->getDescription();
346
                break;
347
            case 'image':
348
                $attributeData['type'] = 'image';
349
                $attributeData['description'][] = Description::parse($rule)->getDescription();
@@ 347-350 (lines=4) @@
344
                $attributeData['type'] = 'file';
345
                $attributeData['description'][] = Description::parse($rule)->getDescription();
346
                break;
347
            case 'image':
348
                $attributeData['type'] = 'image';
349
                $attributeData['description'][] = Description::parse($rule)->getDescription();
350
                break;
351
            case 'json':
352
                $attributeData['type'] = 'string';
353
                $attributeData['description'][] = Description::parse($rule)->getDescription();