Code Duplication    Length = 6-6 lines in 2 locations

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

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