original_string: public function getErrorMessages() {
          $messages = array();
          
          foreach($this->entries as $entry) {
              if($entry->isError()) {
                  $messages[] = $entry->getMessage();
              }
          }
          
          return $messages;
      }
code: public function getErrorMessages() {
          $messages = array();
          
          foreach($this->entries as $entry) {
              if($entry->isError()) {
                  $messages[] = $entry->getMessage();
              }
          }
          
          return $messages;
      }
code_tokens: public function getErrorMessages ( ) { $ messages = array ( ) ; foreach ( $ this -> entries as $ entry ) { if ( $ entry -> isError ( ) ) { $ messages [ ] = $ entry -> getMessage ( ) ; } } return $ messages ; }
docstring: Returns an array of error message strings
  
  @return string[]
docstring_tokens: Returns an array of error message strings