From b66da9a26688f63d93bd01e7cf49d65b303e60a1 Mon Sep 17 00:00:00 2001 From: Tsvetelin Tsonev Date: Wed, 12 Jun 2019 00:22:30 +0200 Subject: [PATCH] Update HttpClient.php --- src/Http/HttpClient.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Http/HttpClient.php b/src/Http/HttpClient.php index daaf601..28e0f08 100644 --- a/src/Http/HttpClient.php +++ b/src/Http/HttpClient.php @@ -108,9 +108,10 @@ class HttpClient implements HttpClientInterface { private function processResponse() { $this->responseMessage = json_decode($this->response->getBody()->getContents()); - // TODO delete var_dump. - // var_dump($this->responseMessage); ("deleted" var dump as per TODO) - if ($this->responseMessage->status == "success") return true; + + if ($this->responseMessage->status == "success") + return true; + return false; }