@@ 287-289 (lines=3) @@ | ||
284 | $attributeData['value'] = json_encode(['foo', 'bar', 'baz']); |
|
285 | break; |
|
286 | case 'mimetypes': |
|
287 | case 'mimes': |
|
288 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
289 | break; |
|
290 | case 'required_if': |
|
291 | $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
|
292 | break; |
|
@@ 296-298 (lines=3) @@ | ||
293 | case 'required_unless': |
|
294 | $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
|
295 | break; |
|
296 | case 'required_with': |
|
297 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
298 | break; |
|
299 | case 'required_with_all': |
|
300 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
301 | break; |
|
@@ 299-301 (lines=3) @@ | ||
296 | case 'required_with': |
|
297 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
298 | break; |
|
299 | case 'required_with_all': |
|
300 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
301 | break; |
|
302 | case 'required_without': |
|
303 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
304 | break; |
|
@@ 302-304 (lines=3) @@ | ||
299 | case 'required_with_all': |
|
300 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
301 | break; |
|
302 | case 'required_without': |
|
303 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
304 | break; |
|
305 | case 'required_without_all': |
|
306 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
307 | break; |
|
@@ 305-307 (lines=3) @@ | ||
302 | case 'required_without': |
|
303 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
304 | break; |
|
305 | case 'required_without_all': |
|
306 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
|
307 | break; |
|
308 | case 'same': |
|
309 | $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
|
310 | break; |