original_string: private function resolveClient($client)
  	{
  		$client = ! empty($client)
  			? $client
  			: new Client();
  
  		$client->setBaseUrl(Properties::baseUrl())
  			->setUserAgent('Double Opt-in php-api/' . self::VERSION);
  
  		$httpClientConfig = $this->config->getHttpClientConfig();
  		if (array_key_exists('verify', $httpClientConfig)
  			&& $httpClientConfig['verify'] === false)
  		{
  			$client->setSslVerification(false, false);
  		}
  
  		return $client;
  	}
code: private function resolveClient($client)
  	{
  		$client = ! empty($client)
  			? $client
  			: new Client();
  
  		$client->setBaseUrl(Properties::baseUrl())
  			->setUserAgent('Double Opt-in php-api/' . self::VERSION);
  
  		$httpClientConfig = $this->config->getHttpClientConfig();
  		if (array_key_exists('verify', $httpClientConfig)
  			&& $httpClientConfig['verify'] === false)
  		{
  			$client->setSslVerification(false, false);
  		}
  
  		return $client;
  	}
code_tokens: private function resolveClient ( $ client ) { $ client = ! empty ( $ client ) ? $ client : new Client ( ) ; $ client -> setBaseUrl ( Properties :: baseUrl ( ) ) -> setUserAgent ( 'Double Opt-in php-api/' . self :: VERSION ) ; $ httpClientConfig = $ this -> config -> getHttpClientConfig ( ) ; if ( array_key_exists ( 'verify' , $ httpClientConfig ) && $ httpClientConfig [ 'verify' ] === false ) { $ client -> setSslVerification ( false , false ) ; } return $ client ; }
docstring: resolves a http client
  
  @param ClientInterface|null $client
  
  @return ClientInterface|Client
docstring_tokens: resolves a http client