@@ 357-359 (lines=3) @@ | ||
354 | $attributeData['value'] = json_encode(['foo', 'bar', 'baz']); |
|
355 | break; |
|
356 | case 'mimetypes': |
|
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; |
|
@@ 366-368 (lines=3) @@ | ||
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; |
|
369 | case 'required_with_all': |
|
370 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
371 | break; |
|
@@ 369-371 (lines=3) @@ | ||
366 | case 'required_with': |
|
367 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
368 | break; |
|
369 | case 'required_with_all': |
|
370 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
371 | break; |
|
372 | case 'required_without': |
|
373 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
374 | break; |
|
@@ 372-374 (lines=3) @@ | ||
369 | case 'required_with_all': |
|
370 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
371 | break; |
|
372 | case 'required_without': |
|
373 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
374 | break; |
|
375 | case 'required_without_all': |
|
376 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
377 | break; |
|
@@ 375-377 (lines=3) @@ | ||
372 | case 'required_without': |
|
373 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
374 | break; |
|
375 | case 'required_without_all': |
|
376 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
377 | break; |
|
378 | case 'same': |
|
379 | $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
|
380 | break; |