original_string: public function add(string $name, string $value): void
      {
          $key = strtolower($name);
          if (!isset($this->headers[$key])) {
              $this->headers[$key] = [$name, $value];
  
              return;
          }
  
          $this->headers[$key] = [$name, $this->headers[$key][1] . ', ' . $value];
      }
code: public function add(string $name, string $value): void
      {
          $key = strtolower($name);
          if (!isset($this->headers[$key])) {
              $this->headers[$key] = [$name, $value];
  
              return;
          }
  
          $this->headers[$key] = [$name, $this->headers[$key][1] . ', ' . $value];
      }
code_tokens: public function add ( string $ name , string $ value ) : void { $ key = strtolower ( $ name ) ; if ( ! isset ( $ this -> headers [ $ key ] ) ) { $ this -> headers [ $ key ] = [ $ name , $ value ] ; return ; } $ this -> headers [ $ key ] = [ $ name , $ this -> headers [ $ key ] [ 1 ] . ', ' . $ value ] ; }
docstring: Adds a header value by header name.
  
  @since 1.0.0
  
  @param string $name  The header name.
  @param string $value The header value.
docstring_tokens: Adds a header value by header name .