Service/AbstractApi code quality fix.
This commit is contained in:
parent
eae74e58fa
commit
12d33c9400
|
@ -7,7 +7,7 @@ use Guzzle\Http\Message\Request as GuzzleRequest;
|
||||||
use Guzzle\Http\Message\Response as GuzzleResponse;
|
use Guzzle\Http\Message\Response as GuzzleResponse;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo Implement commands
|
* @todo Refactor to Guzzle and DTO
|
||||||
* @see https://github.com/misd-service-development/guzzle-bundle/blob/master/Resources/doc/serialization.md
|
* @see https://github.com/misd-service-development/guzzle-bundle/blob/master/Resources/doc/serialization.md
|
||||||
* @see https://github.com/misd-service-development/guzzle-bundle/blob/master/Resources/doc/clients.md
|
* @see https://github.com/misd-service-development/guzzle-bundle/blob/master/Resources/doc/clients.md
|
||||||
* @see https://github.com/misd-service-development/guzzle-bundle/blob/master/Resources/doc/param_converter.md
|
* @see https://github.com/misd-service-development/guzzle-bundle/blob/master/Resources/doc/param_converter.md
|
||||||
|
@ -44,7 +44,7 @@ class AbstractApi
|
||||||
$this->client = $httpClient;
|
$this->client = $httpClient;
|
||||||
$this->useHttps = ($https) ? true : false;
|
$this->useHttps = ($https) ? true : false;
|
||||||
|
|
||||||
if ($baseUrl) {
|
if (null !== $baseUrl) {
|
||||||
$this->setBaseUrl($baseUrl);
|
$this->setBaseUrl($baseUrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue