Skip to content

Commit

Permalink
Use correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrig committed Sep 10, 2024
1 parent 321cee4 commit 3ee36d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Socialite/PassportProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function getUserByToken($token)
],
]);

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

protected function mapUserToObject(array $user)
Expand Down

0 comments on commit 3ee36d8

Please sign in to comment.