Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 438-441 (lines=4) @@
435
                    $attributeData['value'] = date($format, strtotime('+1 day', strtotime($parameters[0])));
436
                }
437
                break;
438
            case 'alpha':
439
                $attributeData['description'][] = Description::parse($rule)->getDescription();
440
                $attributeData['value'] = $faker->word;
441
                break;
442
            case 'alpha_dash':
443
                $attributeData['description'][] = Description::parse($rule)->getDescription();
444
                break;
@@ 548-551 (lines=4) @@
545
            case 'size':
546
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
547
                break;
548
            case 'timezone':
549
                $attributeData['description'][] = Description::parse($rule)->getDescription();
550
                $attributeData['value'] = $faker->timezone;
551
                break;
552
            case 'exists':
553
                $fieldName = isset($parameters[1]) ? $parameters[1] : $attribute;
554
                $attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription();