original_string: public function setHttpClient(Client $client = null)
      {
          if ($client === null) {
              $client = new Client(
                  HttpClientDiscovery::find(),
                  MessageFactoryDiscovery::find()
              );
          }
          $this->client = $client;
          return $this;
      }
code: public function setHttpClient(Client $client = null)
      {
          if ($client === null) {
              $client = new Client(
                  HttpClientDiscovery::find(),
                  MessageFactoryDiscovery::find()
              );
          }
          $this->client = $client;
          return $this;
      }
code_tokens: public function setHttpClient ( Client $ client = null ) { if ( $ client === null ) { $ client = new Client ( HttpClientDiscovery :: find ( ) , MessageFactoryDiscovery :: find ( ) ) ; } $ this -> client = $ client ; return $ this ; }
docstring: Sets the client to be used for querying the API endpoints
  
  @param Client $client
  @see http://php-http.readthedocs.org/en/latest/utils/#httpmethodsclient
  @return $this
docstring_tokens: Sets the client to be used for querying the API endpoints