original_string: public function getQueryParams()
      {
          if (is_array($this->queryParams)) {
              return $this->queryParams;
          }
  
          if (empty($_SERVER['QUERY_STRING'])) {
              return [];
          }
  
          parse_str($_SERVER['QUERY_STRING'], $this->queryParams);
  
          return $this->queryParams;
      }
code: public function getQueryParams()
      {
          if (is_array($this->queryParams)) {
              return $this->queryParams;
          }
  
          if (empty($_SERVER['QUERY_STRING'])) {
              return [];
          }
  
          parse_str($_SERVER['QUERY_STRING'], $this->queryParams);
  
          return $this->queryParams;
      }
code_tokens: public function getQueryParams ( ) { if ( is_array ( $ this -> queryParams ) ) { return $ this -> queryParams ; } if ( empty ( $ _SERVER [ 'QUERY_STRING' ] ) ) { return [ ] ; } parse_str ( $ _SERVER [ 'QUERY_STRING' ] , $ this -> queryParams ) ; return $ this -> queryParams ; }
docstring: Get url params.
  
  @return array
docstring_tokens: Get url params .