From 3203897e05b98aa1197263492c2931134738223c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20HULARD?= Date: Mon, 4 Apr 2016 18:59:08 +0200 Subject: [PATCH] Remove default client creation logic --- src/Api.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Api.php b/src/Api.php index ec64962..fa5c8f5 100644 --- a/src/Api.php +++ b/src/Api.php @@ -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;