Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 214-217 (lines=4) @@
211
                $attributeData['description'][] = Description::parse($rule)->with(date(DATE_RFC850, strtotime($parameters[0])))->getDescription();
212
                $attributeData['value'] = date(DATE_RFC850, strtotime('+1 day', strtotime($parameters[0])));
213
                break;
214
            case 'alpha':
215
                $attributeData['description'][] = Description::parse($rule)->getDescription();
216
                $attributeData['value'] = $faker->word;
217
                break;
218
            case 'alpha_dash':
219
                $attributeData['description'][] = Description::parse($rule)->getDescription();
220
                break;
@@ 314-317 (lines=4) @@
311
            case 'size':
312
                $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription();
313
                break;
314
            case 'timezone':
315
                $attributeData['description'][] = Description::parse($rule)->getDescription();
316
                $attributeData['value'] = $faker->timezone;
317
                break;
318
            case 'exists':
319
                $fieldName = isset($parameters[1]) ? $parameters[1] : $ruleName;
320
                $attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription();