Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 453-456 (lines=4) @@
450
                $attributeData['type'] = 'numeric';
451
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
452
                break;
453
            case 'file':
454
                $attributeData['type'] = 'file';
455
                $attributeData['description'][] = Description::parse($rule)->getDescription();
456
                break;
457
            case 'image':
458
                $attributeData['type'] = 'image';
459
                $attributeData['description'][] = Description::parse($rule)->getDescription();
@@ 457-460 (lines=4) @@
454
                $attributeData['type'] = 'file';
455
                $attributeData['description'][] = Description::parse($rule)->getDescription();
456
                break;
457
            case 'image':
458
                $attributeData['type'] = 'image';
459
                $attributeData['description'][] = Description::parse($rule)->getDescription();
460
                break;
461
            case 'json':
462
                $attributeData['type'] = 'string';
463
                $attributeData['description'][] = Description::parse($rule)->getDescription();