Phan\Language\Element\FunctionTrait::setIsReturnTypeUndefined PHP Method

setIsReturnTypeUndefined() public method

public setIsReturnTypeUndefined ( boolean $is_return_type_undefined ) : void
$is_return_type_undefined boolean True if this method had no return type defined when it was defined (either in the signature itself or in the docblock).
return void
    public function setIsReturnTypeUndefined(bool $is_return_type_undefined)
    {
        $this->setPhanFlags(Flags::bitVectorWithState($this->getPhanFlags(), Flags::IS_RETURN_TYPE_UNDEFINED, $is_return_type_undefined));
    }