Closed willtj closed 5 years ago
Because it's already an array when it comes back from MongoDB - accessing $token->scopes without this change throws an error because it's trying to cast from a MySQL json-encoded array
$token->scopes
json_decode() expects parameter 1 to be string, array given
Because it's already an array when it comes back from MongoDB - accessing
$token->scopes
without this change throws an error because it's trying to cast from a MySQL json-encoded array