Library/ClassMethod.php
public function hasReturnTypes()
    {
        if (\count($this->returnTypes)) {
            return true;
        }

        if (\count($this->returnClassTypes)) {
            return true;
        }

        return false;
    }
public function hasReturnTypes()
    {
        if (\count($this->returnTypes)) {
            return true;
        }

        if (\count($this->returnClassTypes)) {
            return true;
        }

        return false;
    }
public function hasReturnTypes ( ) { if ( \ count ( $ this -> returnTypes ) ) { return true ; } if ( \ count ( $ this -> returnClassTypes ) ) { return true ; } return false ; }
Checks if the method has return-type or cast hints.

@return bool
Checks if the method has return - type or cast hints .