@@ 260-262 (lines=3) @@ | ||
257 | case 'mimes': |
|
258 | $attributeData['description'][] = 'Allowed mime types: '.$this->fancyImplode($parameters, ', ', ' or '); |
|
259 | break; |
|
260 | case 'required_if': |
|
261 | $attributeData['description'][] = 'Required if `'.$parameters[0].'` is `'.$parameters[1].'`'; |
|
262 | break; |
|
263 | case 'required_unless': |
|
264 | $attributeData['description'][] = 'Required unless `'.$parameters[0].'` is `'.$parameters[1].'`'; |
|
265 | break; |
|
@@ 263-265 (lines=3) @@ | ||
260 | case 'required_if': |
|
261 | $attributeData['description'][] = 'Required if `'.$parameters[0].'` is `'.$parameters[1].'`'; |
|
262 | break; |
|
263 | case 'required_unless': |
|
264 | $attributeData['description'][] = 'Required unless `'.$parameters[0].'` is `'.$parameters[1].'`'; |
|
265 | break; |
|
266 | case 'required_with': |
|
267 | $attributeData['description'][] = 'Required if the parameters '.$this->fancyImplode($parameters, ', ', ' or ').' are present.'; |
|
268 | break; |