From 86f620818fe34669179eca13da760b6fcf788860 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Tue, 1 Oct 2024 22:09:47 +0100 Subject: [PATCH] Fix `brew style` offenses --- Library/Homebrew/help.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/help.rb b/Library/Homebrew/help.rb index e94ef55ca358d..0edc22f744832 100644 --- a/Library/Homebrew/help.rb +++ b/Library/Homebrew/help.rb @@ -9,10 +9,10 @@ module Homebrew module Help sig { params( - cmd: T.nilable(String), - empty_argv: T::Boolean, - usage_error: T.nilable(String), - remaining_args: T::Array[String]) + cmd: T.nilable(String), + empty_argv: T::Boolean, + usage_error: T.nilable(String), + remaining_args: T::Array[String], ).void } def self.help(cmd = nil, empty_argv: false, usage_error: nil, remaining_args: []) @@ -49,8 +49,8 @@ def self.help(cmd = nil, empty_argv: false, usage_error: nil, remaining_args: [] sig { params( - cmd: String, - path: Pathname, + cmd: String, + path: Pathname, remaining_args: T::Array[String], ).returns(String) } @@ -75,8 +75,8 @@ def self.command_help(cmd, path, remaining_args:) sig { params( - path: Pathname, - remaining_args: T::Array[String] + path: Pathname, + remaining_args: T::Array[String], ).returns(T.nilable(String)) } def self.parser_help(path, remaining_args:)