Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 232-237 (lines=6) @@
229
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
230
                $attributeData['value'] = $faker->word;
231
                break;
232
            case 'min':
233
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
234
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
235
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
236
                }
237
                break;
238
            case 'max':
239
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
240
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
@@ 238-243 (lines=6) @@
235
                    $attributeData['value'] = $faker->numberBetween($parameters[0]);
236
                }
237
                break;
238
            case 'max':
239
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
240
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {
241
                    $attributeData['value'] = $faker->numberBetween(0, $parameters[0]);
242
                }
243
                break;
244
            case 'between':
245
                if (! isset($attributeData['type'])) {
246
                    $attributeData['type'] = 'numeric';