private function configureHttpClient()
    {
        $httpClientDefaults = [
            'timeout' => $this->config->get('timeout'),
        ];

        $httpClientConfig = $this->config->get('httpClient') ?? [];

        $this->client = new Client(array_merge($httpClientDefaults, $httpClientConfig));
    }
private function configureHttpClient()
    {
        $httpClientDefaults = [
            'timeout' => $this->config->get('timeout'),
        ];

        $httpClientConfig = $this->config->get('httpClient') ?? [];

        $this->client = new Client(array_merge($httpClientDefaults, $httpClientConfig));
    }
private function configureHttpClient ( ) { $ httpClientDefaults = [ 'timeout' => $ this -> config -> get ( 'timeout' ) , ] ; $ httpClientConfig = $ this -> config -> get ( 'httpClient' ) ?? [ ] ; $ this -> client = new Client ( array_merge ( $ httpClientDefaults , $ httpClientConfig ) ) ; }
Create and configure the HTTP client

@return void
Create and configure the HTTP client