Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 456-461 (lines=6) @@
453
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
454
                $attributeData['value'] = $faker->word;
455
                break;
456
            case 'min':
457
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
458
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
459
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
460
                }
461
                break;
462
            case 'max':
463
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
464
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
@@ 462-467 (lines=6) @@
459
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
460
                }
461
                break;
462
            case 'max':
463
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
464
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
465
                    $attributeData['value'] = $faker->numberBetween(0, $parameters[0]);
466
                }
467
                break;
468
            case 'between':
469
                if (! isset($attributeData['type'])) {
470
                    $attributeData['type'] = 'numeric';