@@ 224-227 (lines=4) @@ | ||
221 | case 'alpha_num': |
|
222 | $attributeData['description'][] = Description::parse($rule)->getDescription(); |
|
223 | break; |
|
224 | case 'in': |
|
225 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
226 | $attributeData['value'] = $faker->randomElement($parameters); |
|
227 | break; |
|
228 | case 'not_in': |
|
229 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
230 | $attributeData['value'] = $faker->word; |
|
@@ 228-231 (lines=4) @@ | ||
225 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
226 | $attributeData['value'] = $faker->randomElement($parameters); |
|
227 | break; |
|
228 | case 'not_in': |
|
229 | $attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
|
230 | $attributeData['value'] = $faker->word; |
|
231 | break; |
|
232 | case 'min': |
|
233 | $attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
|
234 | if (Arr::get($attributeData, 'type') === 'numeric' || Arr::get($attributeData, 'type') === 'integer') { |