|
@@ 437-440 (lines=4) @@
|
| 434 |
|
$attributeData['value'] = date($format, strtotime('+1 day', strtotime($parameters[0]))); |
| 435 |
|
} |
| 436 |
|
break; |
| 437 |
|
case 'alpha': |
| 438 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 439 |
|
$attributeData['value'] = $faker->word; |
| 440 |
|
break; |
| 441 |
|
case 'alpha_dash': |
| 442 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 443 |
|
break; |
|
@@ 547-550 (lines=4) @@
|
| 544 |
|
case 'size': |
| 545 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 546 |
|
break; |
| 547 |
|
case 'timezone': |
| 548 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 549 |
|
$attributeData['value'] = $faker->timezone; |
| 550 |
|
break; |
| 551 |
|
case 'exists': |
| 552 |
|
$fieldName = isset($parameters[1]) ? $parameters[1] : $attribute; |
| 553 |
|
$attributeData['description'][] = Description::parse($rule)->with([Str::singular($parameters[0]), $fieldName])->getDescription(); |