Skip to content

Commit 1d802ab

Browse files
committed
small refactor
1 parent 142d66f commit 1d802ab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Token.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ public static function getToken($claims)
159159
if (!isset($claims['iss']) && static::$issuer) {
160160
$claims['iss'] = static::$issuer;
161161
}
162-
$token = static::generateToken($claims, $time, $ttl, $algorithm, $secret);
163-
return $token;
162+
return static::generateToken($claims, $time, $ttl, $algorithm, $secret);
164163
}
165164

166165
}

0 commit comments

Comments
 (0)