original_string: public function getErrorMessage()
       {
           $messages = $this->getMessage();
           $critical = $this->getCritical();
           $msgError = "";
           $i = 0;
           foreach ($messages as $message ) {
  
               if ($critical[$i++]) {
                   $msgError .= "{$message}\n";
               }
           }
  
           return $msgError;
       }
code: public function getErrorMessage()
       {
           $messages = $this->getMessage();
           $critical = $this->getCritical();
           $msgError = "";
           $i = 0;
           foreach ($messages as $message ) {
  
               if ($critical[$i++]) {
                   $msgError .= "{$message}\n";
               }
           }
  
           return $msgError;
       }
code_tokens: public function getErrorMessage ( ) { $ messages = $ this -> getMessage ( ) ; $ critical = $ this -> getCritical ( ) ; $ msgError = "" ; $ i = 0 ; foreach ( $ messages as $ message ) { if ( $ critical [ $ i ++ ] ) { $ msgError .= "{$message}\n" ; } } return $ msgError ; }
docstring: compile all errors in one line
  @return string
docstring_tokens: compile all errors in one line