Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 284-287 (lines=4) @@
281
                $attributeData['description'][] = Description::parse($rule)->with(date(DATE_RFC850, strtotime($parameters[0])))->getDescription();
282
                $attributeData['value'] = date(DATE_RFC850, strtotime('+1 day', strtotime($parameters[0])));
283
                break;
284
            case 'alpha':
285
                $attributeData['description'][] = Description::parse($rule)->getDescription();
286
                $attributeData['value'] = $faker->word;
287
                break;
288
            case 'alpha_dash':
289
                $attributeData['description'][] = Description::parse($rule)->getDescription();
290
                break;
@@ 384-387 (lines=4) @@
381
            case 'size':
382
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
383
                break;
384
            case 'timezone':
385
                $attributeData['description'][] = Description::parse($rule)->getDescription();
386
                $attributeData['value'] = $faker->timezone;
387
                break;
388
            case 'exists':
389
                $fieldName = isset($parameters[1]) ? $parameters[1] : $ruleName;
390
                $attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription();