diff --git a/Library/Homebrew/service.rb b/Library/Homebrew/service.rb index 3ef98c0792..87c7f54693 100644 --- a/Library/Homebrew/service.rb +++ b/Library/Homebrew/service.rb @@ -28,6 +28,11 @@ module Homebrew @service_block = block end + sig { returns(Formula) } + def f + @formula + end + sig { params(command: T.nilable(T.any(T::Array[String], String, Pathname))).returns(T.nilable(Array)) } def run(command = nil) case T.unsafe(command)