Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 296-299 (lines=4) @@
293
                $attributeData['type'] = 'numeric';
294
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
295
                break;
296
            case 'file':
297
                $attributeData['type'] = 'file';
298
                $attributeData['description'][] = Description::parse($rule)->getDescription();
299
                break;
300
            case 'image':
301
                $attributeData['type'] = 'image';
302
                $attributeData['description'][] = Description::parse($rule)->getDescription();
@@ 300-303 (lines=4) @@
297
                $attributeData['type'] = 'file';
298
                $attributeData['description'][] = Description::parse($rule)->getDescription();
299
                break;
300
            case 'image':
301
                $attributeData['type'] = 'image';
302
                $attributeData['description'][] = Description::parse($rule)->getDescription();
303
                break;
304
            case 'json':
305
                $attributeData['type'] = 'string';
306
                $attributeData['description'][] = Description::parse($rule)->getDescription();