改名
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ class Jwt extends Component
|
|||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws JWTAuthTokenException
|
* @throws JWTAuthTokenException
|
||||||
*/
|
*/
|
||||||
private function unpack(string $token): string
|
private function unpack(string $token): array
|
||||||
{
|
{
|
||||||
if (count($explode = explode('.', $token)) != 3) {
|
if (count($explode = explode('.', $token)) != 3) {
|
||||||
throw new JWTAuthTokenException('JWT Voucher Format Error.');
|
throw new JWTAuthTokenException('JWT Voucher Format Error.');
|
||||||
|
|||||||
Reference in New Issue
Block a user