original_string: protected function getResult()
      {
          $result = empty($this->errors) ? true : $this->errors;
          $this->errors = array();
          return $result;
      }
code: protected function getResult()
      {
          $result = empty($this->errors) ? true : $this->errors;
          $this->errors = array();
          return $result;
      }
code_tokens: protected function getResult ( ) { $ result = empty ( $ this -> errors ) ? true : $ this -> errors ; $ this -> errors = array ( ) ; return $ result ; }
docstring: Returns validation results
  @return array|boolean
docstring_tokens: Returns validation results