We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988ef4a commit e7e41a2Copy full SHA for e7e41a2
src/PayMayaClient.php
@@ -101,6 +101,6 @@ public function getClientWithPublicKey(): Client
101
*/
102
public static function getDataFromResponse(ResponseInterface $response, $assoc = false)
103
{
104
- return json_decode($response->getBody(), $assoc);
+ return json_decode((string)$response->getBody(), $assoc);
105
}
106
0 commit comments