Skip to content

Commit

Permalink
[Passport] Make getUserByToken always returns an array (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
jryd committed Jun 8, 2020
1 parent f608d19 commit 6f89e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected function getUserByToken($token)
],
]);

return json_decode($response->getBody(), true);
return (array) json_decode($response->getBody(), true);
}

/**
Expand Down

0 comments on commit 6f89e7f

Please sign in to comment.