1
0
mirror of https://github.com/miguel456/php-http-virtualmin-api synced 2023-07-28 01:52:31 +00:00

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

View File

@ -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;
}