original_string: public function withQueryParams(array $query)
      {
          $params = $this->getQueryParams();
  
          foreach ($query as $key => $value) {
              $params[$key] = $value;
          }
  
          $this->queryParams = $params;
      }
code: public function withQueryParams(array $query)
      {
          $params = $this->getQueryParams();
  
          foreach ($query as $key => $value) {
              $params[$key] = $value;
          }
  
          $this->queryParams = $params;
      }
code_tokens: public function withQueryParams ( array $ query ) { $ params = $ this -> getQueryParams ( ) ; foreach ( $ query as $ key => $ value ) { $ params [ $ key ] = $ value ; } $ this -> queryParams = $ params ; }
docstring: Set many query param.
  
  @param array $values
docstring_tokens: Set many query param .