@@ -73,7 +73,7 @@ |
||
| 73 | 73 | $this->clientId = $clientId; |
| 74 | 74 | $this->clientSecret = $clientSecret; |
| 75 | 75 | $this->redirectUrl = $redirectUrl; |
| 76 | - $this->httpClient = new HttpClient(['base_uri' => self::BASE_URI]); |
|
| 76 | + $this->httpClient = new HttpClient([ 'base_uri' => self::BASE_URI ]); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | $body = (string) $e->getResponse()->getBody(); |
| 26 | 26 | $json = json_decode($body, true); |
| 27 | 27 | |
| 28 | - if (isset($json['message'])) { |
|
| 29 | - $message = $json['message']; |
|
| 28 | + if (isset($json[ 'message' ])) { |
|
| 29 | + $message = $json[ 'message' ]; |
|
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | |