Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 294-297 (lines=4) @@
291
            case 'alpha_num':
292
                $attributeData['description'][] = Description::parse($rule)->getDescription();
293
                break;
294
            case 'in':
295
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
296
                $attributeData['value'] = $faker->randomElement($parameters);
297
                break;
298
            case 'not_in':
299
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
300
                $attributeData['value'] = $faker->word;
@@ 298-301 (lines=4) @@
295
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
296
                $attributeData['value'] = $faker->randomElement($parameters);
297
                break;
298
            case 'not_in':
299
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
300
                $attributeData['value'] = $faker->word;
301
                break;
302
            case 'min':
303
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
304
                if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') {