original_string: public function withQueryParam($key, $value)
      {
          $params = $this->getQueryParams();
          $params[$key] = $value;
          $this->queryParams = $params;
      }
code: public function withQueryParam($key, $value)
      {
          $params = $this->getQueryParams();
          $params[$key] = $value;
          $this->queryParams = $params;
      }
code_tokens: public function withQueryParam ( $ key , $ value ) { $ params = $ this -> getQueryParams ( ) ; $ params [ $ key ] = $ value ; $ this -> queryParams = $ params ; }
docstring: Set a query param.
  
  @param string $key
  @param string $value
docstring_tokens: Set a query param .