original_string: public function buildBody($values, $key = null)
      {
          if (is_array($values)) {
              $this->body = array_merge($this->body, $values);
          } else {
              $this->body[$key] = $values;
          }
      }
code: public function buildBody($values, $key = null)
      {
          if (is_array($values)) {
              $this->body = array_merge($this->body, $values);
          } else {
              $this->body[$key] = $values;
          }
      }
code_tokens: public function buildBody ( $ values , $ key = null ) { if ( is_array ( $ values ) ) { $ this -> body = array_merge ( $ this -> body , $ values ) ; } else { $ this -> body [ $ key ] = $ values ; } }
docstring: Builds the body part of the request and adds it to the body array.
  
  @param array|string $values
  @param null         $key
docstring_tokens: Builds the body part of the request and adds it to the body array .