|
@@ 414-417 (lines=4) @@
|
| 411 |
|
case 'alpha_num': |
| 412 |
|
$attributeData['description'][] = Description::parse($rule)->getDescription(); |
| 413 |
|
break; |
| 414 |
|
case 'in': |
| 415 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 416 |
|
$attributeData['value'] = $faker->randomElement($parameters); |
| 417 |
|
break; |
| 418 |
|
case 'not_in': |
| 419 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 420 |
|
$attributeData['value'] = $faker->word; |
|
@@ 418-421 (lines=4) @@
|
| 415 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 416 |
|
$attributeData['value'] = $faker->randomElement($parameters); |
| 417 |
|
break; |
| 418 |
|
case 'not_in': |
| 419 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 420 |
|
$attributeData['value'] = $faker->word; |
| 421 |
|
break; |
| 422 |
|
case 'min': |
| 423 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 424 |
|
if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') { |