diff --git a/stdlib/uri/0/common.rbs b/stdlib/uri/0/common.rbs index a68b31feb..b04a4895a 100644 --- a/stdlib/uri/0/common.rbs +++ b/stdlib/uri/0/common.rbs @@ -278,7 +278,7 @@ module URI # URI.join('http://example.com', '/foo/', 'bar') # # => # # - def self.join: (String str, *String strs) -> URI::Generic + def self.join: (_ToStr | URI::Generic str, *_ToStr | URI::Generic strs) -> URI::Generic #