Skip to content

Commit e7e41a2

Browse files
authored
Modified helper method
1 parent 988ef4a commit e7e41a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PayMayaClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ public function getClientWithPublicKey(): Client
101101
*/
102102
public static function getDataFromResponse(ResponseInterface $response, $assoc = false)
103103
{
104-
return json_decode($response->getBody(), $assoc);
104+
return json_decode((string)$response->getBody(), $assoc);
105105
}
106106
}

0 commit comments

Comments
 (0)