From e698f651ac55920fd2ee1336c3c6cdd2467ea784 Mon Sep 17 00:00:00 2001 From: Ryuta Hamasaki Date: Tue, 12 Nov 2024 23:56:47 +0900 Subject: [PATCH] Replace Rule with ValidationRule (#437) --- stubs/api/app/Http/Requests/Auth/LoginRequest.php | 2 +- stubs/default/app/Http/Requests/Auth/LoginRequest.php | 2 +- stubs/default/app/Http/Requests/ProfileUpdateRequest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/api/app/Http/Requests/Auth/LoginRequest.php b/stubs/api/app/Http/Requests/Auth/LoginRequest.php index 4d3637a9c..f5692bf4c 100644 --- a/stubs/api/app/Http/Requests/Auth/LoginRequest.php +++ b/stubs/api/app/Http/Requests/Auth/LoginRequest.php @@ -22,7 +22,7 @@ public function authorize(): bool /** * Get the validation rules that apply to the request. * - * @return array + * @return array|string> */ public function rules(): array { diff --git a/stubs/default/app/Http/Requests/Auth/LoginRequest.php b/stubs/default/app/Http/Requests/Auth/LoginRequest.php index 2b92f6511..257464245 100644 --- a/stubs/default/app/Http/Requests/Auth/LoginRequest.php +++ b/stubs/default/app/Http/Requests/Auth/LoginRequest.php @@ -22,7 +22,7 @@ public function authorize(): bool /** * Get the validation rules that apply to the request. * - * @return array + * @return array|string> */ public function rules(): array { diff --git a/stubs/default/app/Http/Requests/ProfileUpdateRequest.php b/stubs/default/app/Http/Requests/ProfileUpdateRequest.php index b2ef6bbc3..3622a8f37 100644 --- a/stubs/default/app/Http/Requests/ProfileUpdateRequest.php +++ b/stubs/default/app/Http/Requests/ProfileUpdateRequest.php @@ -11,7 +11,7 @@ class ProfileUpdateRequest extends FormRequest /** * Get the validation rules that apply to the request. * - * @return array + * @return array|string> */ public function rules(): array {