mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
Remove default client creation logic
This commit is contained in:
parent
d2f1c0dab1
commit
3203897e05
@ -143,13 +143,6 @@ class Api
|
||||
throw new Exceptions\InvalidParameterException("Unknown provided endpoint");
|
||||
}
|
||||
|
||||
if (!isset($http_client)) {
|
||||
$http_client = new Client([
|
||||
'timeout' => 30,
|
||||
'connect_timeout' => 5,
|
||||
]);
|
||||
}
|
||||
|
||||
$this->application_key = $application_key;
|
||||
$this->endpoint = $this->endpoints[$api_endpoint];
|
||||
$this->application_secret = $application_secret;
|
||||
|
Loading…
Reference in New Issue
Block a user