Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 384-387 (lines=4) @@
381
                    $attributeData['value'] = date($format, strtotime('+1 day', strtotime($parameters[0])));
382
                }
383
                break;
384
            case 'alpha':
385
                $attributeData['description'][] = Description::parse($rule)->getDescription();
386
                $attributeData['value'] = $faker->word;
387
                break;
388
            case 'alpha_dash':
389
                $attributeData['description'][] = Description::parse($rule)->getDescription();
390
                break;
@@ 494-497 (lines=4) @@
491
            case 'size':
492
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
493
                break;
494
            case 'timezone':
495
                $attributeData['description'][] = Description::parse($rule)->getDescription();
496
                $attributeData['value'] = $faker->timezone;
497
                break;
498
            case 'exists':
499
                $fieldName = isset($parameters[1]) ? $parameters[1] : $ruleName;
500
                $attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription();