PHPSemVerChecker\Comparator\Type::get PHP Method

get() public static method

public static get ( Name | string | null $type ) : string | null
$type PhpParser\Node\Name | string | null
return string | null
    public static function get($type)
    {
        return is_object($type) ? $type->toString() : $type;
    }