|
@@ 398-401 (lines=4) @@
|
| 395 |
|
case 'alpha_num': |
| 396 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 397 |
|
break; |
| 398 |
|
case 'in': |
| 399 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 400 |
|
$attributeData['value'] = $faker->randomElement($parameters); |
| 401 |
|
break; |
| 402 |
|
case 'not_in': |
| 403 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 404 |
|
$attributeData['value'] = $faker->word; |
|
@@ 402-405 (lines=4) @@
|
| 399 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 400 |
|
$attributeData['value'] = $faker->randomElement($parameters); |
| 401 |
|
break; |
| 402 |
|
case 'not_in': |
| 403 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 404 |
|
$attributeData['value'] = $faker->word; |
| 405 |
|
break; |
| 406 |
|
case 'min': |
| 407 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 408 |
|
if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') { |