Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 388-391 (lines=4) @@
385
                    $attributeData['value'] = date($format, strtotime('+1 day', strtotime($parameters[0])));
386
                }
387
                break;
388
            case 'alpha':
389
                $attributeData['description'][] = Description::parse($rule)->getDescription();
390
                $attributeData['value'] = $faker->word;
391
                break;
392
            case 'alpha_dash':
393
                $attributeData['description'][] = Description::parse($rule)->getDescription();
394
                break;
@@ 498-501 (lines=4) @@
495
            case 'size':
496
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
497
                break;
498
            case 'timezone':
499
                $attributeData['description'][] = Description::parse($rule)->getDescription();
500
                $attributeData['value'] = $faker->timezone;
501
                break;
502
            case 'exists':
503
                $fieldName = isset($parameters[1]) ? $parameters[1] : $ruleName;
504
                $attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription();