Skip to content

Commit 6b532de

Browse files
authored
Update Jwt.php
1 parent 5d376a0 commit 6b532de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Jwt.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function verifyToken($jwt)
8787
*/
8888
private static function decodeToken($payload)
8989
{
90-
return json_decode(base64_decode($payload), true);
90+
return json_decode(base64_decode($payload));
9191
}
9292

9393
private function base64UrlEncode($text)
@@ -123,4 +123,4 @@ public static function getPayload($jwt_token)
123123

124124
return self::decodeToken($payload);
125125
}
126-
}
126+
}

0 commit comments

Comments
 (0)