From 4caa501996a64ad8f5cc3f30397e491362ec49b9 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Thu, 7 Sep 2023 13:28:32 -0700 Subject: [PATCH] Relax property type check --- app/Http/Requests/SaveUserRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/SaveUserRequest.php b/app/Http/Requests/SaveUserRequest.php index 6527fca56f..b38193c15a 100644 --- a/app/Http/Requests/SaveUserRequest.php +++ b/app/Http/Requests/SaveUserRequest.php @@ -32,7 +32,7 @@ class SaveUserRequest extends FormRequest public function rules() { $rules = [ - 'department_id' => 'nullable|integer|exists:departments,id', + 'department_id' => 'nullable|exists:departments,id', 'manager_id' => 'nullable|exists:users,id', ];