original_string: public function set($key, $value) {
          $key = $this->formatKey($key);
          array_set($this->headers, $key, [$value]);
      }
code: public function set($key, $value) {
          $key = $this->formatKey($key);
          array_set($this->headers, $key, [$value]);
      }
code_tokens: public function set ( $ key , $ value ) { $ key = $ this -> formatKey ( $ key ) ; array_set ( $ this -> headers , $ key , [ $ value ] ) ; }
docstring: Replace all previous headers with this one.
  
  @param $key
  @param $value
docstring_tokens: Replace all previous headers with this one .