From 50e7d3da52439bf08a87c57b8fc7d5c745c5f20f Mon Sep 17 00:00:00 2001 From: pratiksh404 Date: Tue, 7 Sep 2021 06:06:15 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Http/Requests/UserRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Requests/UserRequest.php b/src/Http/Requests/UserRequest.php index 07d4057..e232c64 100644 --- a/src/Http/Requests/UserRequest.php +++ b/src/Http/Requests/UserRequest.php @@ -26,7 +26,7 @@ public function rules() $id = $this->user->id ?? ''; $rules = [ 'name' => 'required|max:100', - 'email' => 'required|email|unique:users,email,' . $id, + 'email' => 'required|email|unique:users,email,'.$id, ]; if ($this->getMethod() == 'POST') { $rules += ['password' => 'required|confirmed|min:8|max:30'];