Update HttpClient.php

This commit is contained in:
Tsvetelin Tsonev 2019-06-12 00:22:30 +02:00 committed by GitHub
parent 1951102262
commit b66da9a266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -108,9 +108,10 @@ class HttpClient implements HttpClientInterface {
private function processResponse() { private function processResponse() {
$this->responseMessage = json_decode($this->response->getBody()->getContents()); $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")
if ($this->responseMessage->status == "success") return true; return true;
return false; return false;
} }