InvalidArgumentException: Validation rule digits requires at least 1 parameters.

Posted by

Error:

InvalidArgumentException: Validation rule digits requires at least 1 parameters. in /opt/lampp/htdocs/myhospitalnow/mhn-notifications-ms/vendor/laravel/framework/src/Illuminate/Validation/Concerns/ValidatesAttributes.php:2531

Solution:

Change to ¬† ‘phone’ => ‘required|min:7|max:15’,

After that error is solved.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x