original_string: public function add($key, $message)
      {
          if (! isset($this->errors[$key])) $this->errors[$key] = [];
          $this->errors[$key][] = $message;
      }
code: public function add($key, $message)
      {
          if (! isset($this->errors[$key])) $this->errors[$key] = [];
          $this->errors[$key][] = $message;
      }
code_tokens: public function add ( $ key , $ message ) { if ( ! isset ( $ this -> errors [ $ key ] ) ) $ this -> errors [ $ key ] = [ ] ; $ this -> errors [ $ key ] [ ] = $ message ; }
docstring: add error message
  
  @param   string  $key
  @param   string  $message
docstring_tokens: add error message