Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 255-260 (lines=6) @@
252
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
253
                $attributeData['value'] = $faker->word;
254
                break;
255
            case 'min':
256
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
257
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
258
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
259
                }
260
                break;
261
            case 'max':
262
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
263
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
@@ 261-266 (lines=6) @@
258
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
259
                }
260
                break;
261
            case 'max':
262
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
263
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
264
                    $attributeData['value'] = $faker->numberBetween(0, $parameters[0]);
265
                }
266
                break;
267
            case 'between':
268
                if (! isset($attributeData['type'])) {
269
                    $attributeData['type'] = 'numeric';