Merge pull request #19855 from Homebrew/sorbet-files-update

sorbet: Update RBI files.
This commit is contained in:
Mike McQuaid 2025-04-30 16:11:51 +00:00 committed by GitHub
commit beef5fbae7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 11 deletions

View File

@ -214,13 +214,6 @@ class Formula
sig { returns(T::Boolean) }
attr_accessor :follow_installed_alias
# Message that explains why the formula was excluded from autobump list.
# Returns `nil` if no message is specified.
#
# @see .no_autobump!
sig { returns(T.nilable(T.any(String, Symbol))) }
attr_reader :no_autobump_message
alias follow_installed_alias? follow_installed_alias
# Whether or not to force the use of a bottle.

View File

@ -30,7 +30,7 @@ class Cask::Cask
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def auto_updates(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def autobump?(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
@ -144,6 +144,9 @@ class Cask::Cask
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def name(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def no_autobump!(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def no_autobump_message(*args, &block); end

View File

@ -6,12 +6,12 @@
class Formula
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def autobump?(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def allow_network_access!(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def autobump?(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def bottle_defined?(*args, &block); end
@ -111,6 +111,15 @@ class Formula
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def network_access_allowed?(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def no_autobump!(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def no_autobump_defined?(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def no_autobump_message(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def option_defined?(*args, &block); end