original_string: protected function log_error($errors) {
          if (empty($errors)) {
              return;
          }
  
          foreach ($errors as $code => $langstring) {
              if (!isset($this->errors[$this->linenb])) {
                  $this->errors[$this->linenb] = array();
              }
              $this->errors[$this->linenb][$code] = $langstring;
          }
      }
code: protected function log_error($errors) {
          if (empty($errors)) {
              return;
          }
  
          foreach ($errors as $code => $langstring) {
              if (!isset($this->errors[$this->linenb])) {
                  $this->errors[$this->linenb] = array();
              }
              $this->errors[$this->linenb][$code] = $langstring;
          }
      }
code_tokens: protected function log_error ( $ errors ) { if ( empty ( $ errors ) ) { return ; } foreach ( $ errors as $ code => $ langstring ) { if ( ! isset ( $ this -> errors [ $ this -> linenb ] ) ) { $ this -> errors [ $ this -> linenb ] = array ( ) ; } $ this -> errors [ $ this -> linenb ] [ $ code ] = $ langstring ; } }
docstring: Log errors on the current line.
  
  @param array $errors array of errors
  @return void
docstring_tokens: Log errors on the current line .