Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 237-240 (lines=4) @@
234
                $attributeData['description'][] = Description::parse($rule)->with(date(DATE_RFC850, strtotime($parameters[0])))->getDescription();
235
                $attributeData['value'] = date(DATE_RFC850, strtotime('+1 day', strtotime($parameters[0])));
236
                break;
237
            case 'alpha':
238
                $attributeData['description'][] = Description::parse($rule)->getDescription();
239
                $attributeData['value'] = $faker->word;
240
                break;
241
            case 'alpha_dash':
242
                $attributeData['description'][] = Description::parse($rule)->getDescription();
243
                break;
@@ 337-340 (lines=4) @@
334
            case 'size':
335
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
336
                break;
337
            case 'timezone':
338
                $attributeData['description'][] = Description::parse($rule)->getDescription();
339
                $attributeData['value'] = $faker->timezone;
340
                break;
341
            case 'exists':
342
                $fieldName = isset($parameters[1]) ? $parameters[1] : $ruleName;
343
                $attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription();