mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
Convert validation rules to array syntax
This commit is contained in:
@@ -15,7 +15,10 @@ class ContactSubmissionRequest extends FormRequest
|
|||||||
'category' => ['required', 'in:question,advertising,bug_report,feedback,other'],
|
'category' => ['required', 'in:question,advertising,bug_report,feedback,other'],
|
||||||
'subject' => ['required', 'max:254'],
|
'subject' => ['required', 'max:254'],
|
||||||
'message' => ['required', 'unique:contact_submissions', 'max:3500'],
|
'message' => ['required', 'unique:contact_submissions', 'max:3500'],
|
||||||
'h-captcha-response' => 'required|HCaptcha',
|
'h-captcha-response' => [
|
||||||
|
'required',
|
||||||
|
'HCaptcha',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user