Code Duplication    Length = 4-4 lines in 2 locations

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

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