Skip to content

Commit f5f87da

Browse files
authored
Solve syntax error: Remove extra ')'
1 parent 8471e68 commit f5f87da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decode-header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
$token = $headers["Authorization"];
1515
// Remove "Bearer " at first of TOKEN
16-
$token = substr($a, 7)); // strlen("Bearer ") = 7
16+
$token = substr($a, 7); // strlen("Bearer ") = 7
1717

1818
try {
1919
$decode = JWT::decode($token, $key, array('HS256'));

0 commit comments

Comments
 (0)