This commit is contained in:
2021-08-06 17:41:04 +08:00
parent 2d2866d9ed
commit 587433f112
+1 -1
View File
@@ -138,7 +138,7 @@ class Jwt extends Component
* @return mixed
* @throws JWTAuthTokenException
*/
private function unpack(string $token): string
private function unpack(string $token): array
{
if (count($explode = explode('.', $token)) != 3) {
throw new JWTAuthTokenException('JWT Voucher Format Error.');