Skip to content

Commit 7c84f1b

Browse files
committed
Style CI updates
1 parent ed96922 commit 7c84f1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Guard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ protected function hasValidProvider($tokenable)
113113
*/
114114
protected function isValidAccessToken($accessToken): bool
115115
{
116-
if (!$accessToken) {
116+
if (! $accessToken) {
117117
return false;
118118
}
119119

120120
$is_valid =
121-
(!$this->expiration || $accessToken->created_at->gt(now()->subMinutes($this->expiration)))
121+
(! $this->expiration || $accessToken->created_at->gt(now()->subMinutes($this->expiration)))
122122
&& $this->hasValidProvider($accessToken->tokenable);
123123

124124
if (is_callable(Sanctum::$validateCallback)) {

0 commit comments

Comments
 (0)