Code Duplication    Length = 6-6 lines in 2 locations

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

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