original_string: public function addErrors(Collection $errors)
      {
          $this->errors = $this->getErrors()->merge($errors);
  
          return $this;
      }
code: public function addErrors(Collection $errors)
      {
          $this->errors = $this->getErrors()->merge($errors);
  
          return $this;
      }
code_tokens: public function addErrors ( Collection $ errors ) { $ this -> errors = $ this -> getErrors ( ) -> merge ( $ errors ) ; return $ this ; }
docstring: Add errors.
  
  @param Collection $errors
  
  @return $this
docstring_tokens: Add errors .