public function hasReturnTypes() {
    $doc_comment = $this->getDocComment();
    if (!$doc_comment) {
      return FALSE;
    }
    $return_tag = $doc_comment->getReturn();
    if (!$return_tag) {
      return FALSE;
    }
    $types = $return_tag->getTypes();
    return !empty($types);
  }
public function hasReturnTypes() {
    $doc_comment = $this->getDocComment();
    if (!$doc_comment) {
      return FALSE;
    }
    $return_tag = $doc_comment->getReturn();
    if (!$return_tag) {
      return FALSE;
    }
    $types = $return_tag->getTypes();
    return !empty($types);
  }
public function hasReturnTypes ( ) { $ doc_comment = $ this -> getDocComment ( ) ; if ( ! $ doc_comment ) { return FALSE ; } $ return_tag = $ doc_comment -> getReturn ( ) ; if ( ! $ return_tag ) { return FALSE ; } $ types = $ return_tag -> getTypes ( ) ; return ! empty ( $ types ) ; }
Return TRUE if function has phpDoc return type.

@return bool
Return TRUE if function has phpDoc return type .