|
@@ 404-407 (lines=4) @@
|
| 401 |
|
$attributeData['value'] = date($format, strtotime('+1 day', strtotime($parameters[0]))); |
| 402 |
|
} |
| 403 |
|
break; |
| 404 |
|
case 'alpha': |
| 405 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 406 |
|
$attributeData['value'] = $faker->word; |
| 407 |
|
break; |
| 408 |
|
case 'alpha_dash': |
| 409 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 410 |
|
break; |
|
@@ 514-517 (lines=4) @@
|
| 511 |
|
case 'size': |
| 512 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 513 |
|
break; |
| 514 |
|
case 'timezone': |
| 515 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 516 |
|
$attributeData['value'] = $faker->timezone; |
| 517 |
|
break; |
| 518 |
|
case 'exists': |
| 519 |
|
$fieldName = isset($parameters[1]) ? $parameters[1] : $attribute; |
| 520 |
|
$attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription(); |