original_string: public function maybeMoveParametersToBody()
    {
      if ($this->getRequestMethod() == "POST" && empty($this->postBody)) {
        $this->setRequestHeaders(
            array(
              "content-type" =>
                  "application/x-www-form-urlencoded; charset=UTF-8"
            )
        );
        $this->setPostBody($this->buildQuery($this->queryParams));
        $this->queryParams = array();
      }
    }
code: public function maybeMoveParametersToBody()
    {
      if ($this->getRequestMethod() == "POST" && empty($this->postBody)) {
        $this->setRequestHeaders(
            array(
              "content-type" =>
                  "application/x-www-form-urlencoded; charset=UTF-8"
            )
        );
        $this->setPostBody($this->buildQuery($this->queryParams));
        $this->queryParams = array();
      }
    }
code_tokens: public function maybeMoveParametersToBody ( ) { if ( $ this -> getRequestMethod ( ) == "POST" && empty ( $ this -> postBody ) ) { $ this -> setRequestHeaders ( array ( "content-type" => "application/x-www-form-urlencoded; charset=UTF-8" ) ) ; $ this -> setPostBody ( $ this -> buildQuery ( $ this -> queryParams ) ) ; $ this -> queryParams = array ( ) ; } }
docstring: If we're POSTing and have no body to send, we can send the query
  parameters in there, which avoids length issues with longer query
  params.
docstring_tokens: If we re POSTing and have no body to send we can send the query parameters in there which avoids length issues with longer query params .