diff --git a/app/Http/Requests/Admin/AdminFormRequest.php b/app/Http/Requests/Admin/AdminFormRequest.php index 7d5859981..887583c7d 100644 --- a/app/Http/Requests/Admin/AdminFormRequest.php +++ b/app/Http/Requests/Admin/AdminFormRequest.php @@ -18,7 +18,7 @@ abstract class AdminFormRequest extends FormRequest * * @return array */ - abstract public function rules(): array; + abstract public function rules(); /** * Determine if the user is an admin and has permission to access this diff --git a/app/Http/Requests/Admin/Service/OptionImportFormRequest.php b/app/Http/Requests/Admin/Service/OptionImportFormRequest.php index 8e90087ca..5c464c658 100644 --- a/app/Http/Requests/Admin/Service/OptionImportFormRequest.php +++ b/app/Http/Requests/Admin/Service/OptionImportFormRequest.php @@ -16,7 +16,7 @@ class OptionImportFormRequest extends AdminFormRequest /** * @return array */ - public function rules(): array + public function rules() { return [ 'import_file' => 'bail|required|file|max:1000|mimetypes:application/json,text/plain', diff --git a/app/Http/Requests/Admin/Service/ServiceFormRequest.php b/app/Http/Requests/Admin/Service/ServiceFormRequest.php index 672f2d2f9..e469ecd54 100644 --- a/app/Http/Requests/Admin/Service/ServiceFormRequest.php +++ b/app/Http/Requests/Admin/Service/ServiceFormRequest.php @@ -16,7 +16,7 @@ class ServiceFormRequest extends AdminFormRequest /** * @return array */ - public function rules(): array + public function rules() { return [ 'name' => 'required|string|min:1|max:255',