Skip to content

Commit

Permalink
Merge pull request #19 from pratiksh404/analysis-7arx03
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
pratiksh404 authored Sep 7, 2021
2 parents cdffd49 + 50e7d3d commit c0bf46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Requests/UserRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit c0bf46e

Please sign in to comment.