Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 422-427 (lines=6) @@
419
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
420
                $attributeData['value'] = $faker->word;
421
                break;
422
            case 'min':
423
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
424
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
425
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
426
                }
427
                break;
428
            case 'max':
429
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
430
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
@@ 428-433 (lines=6) @@
425
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
426
                }
427
                break;
428
            case 'max':
429
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
430
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
431
                    $attributeData['value'] = $faker->numberBetween(0, $parameters[0]);
432
                }
433
                break;
434
            case 'between':
435
                if (! isset($attributeData['type'])) {
436
                    $attributeData['type'] = 'numeric';