/** * Get a fresh Guzzle HTTP client instance. * * @param array $config * * @return \GuzzleHttp\Client */ protected function getHttpClient(array $config) : HttpClient { $guzzleConfig = Arr::get($config, 'guzzle', []); return new HttpClient(Arr::add($guzzleConfig, 'connect_timeout', 90)); }