diff options
-rw-r--r-- | Authentication/JWT.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Authentication/JWT.php b/Authentication/JWT.php index 1382780..d0b71b9 100644 --- a/Authentication/JWT.php +++ b/Authentication/JWT.php @@ -137,7 +137,7 @@ class JWT */ $max_int_length = strlen((string) PHP_INT_MAX) - 1; $json_without_bigints = preg_replace('/:\s*(\d{'.$max_int_length.',})/', ': "$1"', $input); - $obj = json_decode($json_without_bigints, true); + $obj = json_decode($json_without_bigints); } if (function_exists('json_last_error') && $errno = json_last_error()) { |