Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 360-362 (lines=3) @@
357
            case 'mimes':
358
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
359
                break;
360
            case 'required_if':
361
                $attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription();
362
                break;
363
            case 'required_unless':
364
                $attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription();
365
                break;
@@ 363-365 (lines=3) @@
360
            case 'required_if':
361
                $attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription();
362
                break;
363
            case 'required_unless':
364
                $attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription();
365
                break;
366
            case 'required_with':
367
                $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
368
                break;