Skip to content

Commit

Permalink
Apply fixes from StyleCI (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk authored Oct 30, 2020
1 parent f8b53a3 commit a0da4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/AuthService.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function verify($id, $hash = null)
/** * @var Authenticatable */
$user = $this->userQuery()->query()->find($id);

if ($user instanceof Sanctumable && ! hash_equals((string)$hash, sha1($user->getEmailForVerification()))) {
if ($user instanceof Sanctumable && ! hash_equals((string) $hash, sha1($user->getEmailForVerification()))) {
throw new AuthorizationException('Invalid hash');
}

Expand Down

0 comments on commit a0da4c8

Please sign in to comment.