Skip to content

Commit 4ab318e

Browse files
committed
Use correct type
1 parent 321cee4 commit 4ab318e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Socialite/PassportProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function getUserByToken($token)
4646
],
4747
]);
4848

49-
return json_decode($response->getBody(), true);
49+
return json_decode((string) $response->getBody(), true);
5050
}
5151

5252
protected function mapUserToObject(array $user)

0 commit comments

Comments
 (0)