Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 406-411 (lines=6) @@
403
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
404
                $attributeData['value'] = $faker->word;
405
                break;
406
            case 'min':
407
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
408
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
409
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
410
                }
411
                break;
412
            case 'max':
413
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
414
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
@@ 412-417 (lines=6) @@
409
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
410
                }
411
                break;
412
            case 'max':
413
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
414
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
415
                    $attributeData['value'] = $faker->numberBetween(0, $parameters[0]);
416
                }
417
                break;
418
            case 'between':
419
                if (! isset($attributeData['type'])) {
420
                    $attributeData['type'] = 'numeric';