mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
Bump getResponseExceptionMessage to GuzzleHttp version 5
This commit is contained in:
parent
3bb69d8cbe
commit
225e800595
@ -184,7 +184,7 @@ class RestClient
|
|||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function getResponseExceptionMessage(\Guzzle\Http\Message\Response $responseObj)
|
protected function getResponseExceptionMessage(\GuzzleHttp\Message\Response $responseObj)
|
||||||
{
|
{
|
||||||
$body = (string) $responseObj->getBody();
|
$body = (string) $responseObj->getBody();
|
||||||
$response = json_decode($body);
|
$response = json_decode($body);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user