Skip to content

Commit 1a428b9

Browse files
- Fromatting change
1 parent 9933740 commit 1a428b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/Repositories/Backend/Access/User/UserRepository.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,20 +324,21 @@ public function mark($user, $status)
324324
* @param $input
325325
* @param $user
326326
*
327-
* @return null
328327
* @throws GeneralException
328+
*
329+
* @return null
329330
*/
330331
protected function checkUserByEmail($input, $user = null)
331332
{
332333
//Figure out if email is not the same
333334
if ($user && $user->email === $input['email']) {
334335
return;
335336
}
336-
337+
337338
//Check to see if email exists
338339
if ($this->query()->where('email', '=', $input['email'])->withTrashed()->exists()) {
339340
throw new GeneralException(trans('exceptions.backend.access.users.email_error'));
340-
}
341+
}
341342
}
342343

343344
/**

0 commit comments

Comments
 (0)