code: protected function prepareRequestParameters()
      {
          if ($this->command->hasParameters()) {
              // build query using RFC 3986 (spaces become %20 instead of '+')
              $this->query = http_build_query($this->command->getParameters(), '', '&', PHP_QUERY_RFC3986);
          }
  
          return $this;
      }
docs: Prepare request parameters
  
  @return $this