From 82565ad324328e3f68b190eb7a9badd73038dff1 Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Fri, 30 Oct 2020 08:32:57 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Services/AuthService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/AuthService.php b/src/Services/AuthService.php index 48dc759bb..5509ee36b 100644 --- a/src/Services/AuthService.php +++ b/src/Services/AuthService.php @@ -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'); }