diff --git a/Library/Homebrew/utils/inreplace.rb b/Library/Homebrew/utils/inreplace.rb index d130871167ecd6502f86ddb3818e992324bf2cc9..b414647aeadc1a78bce0a111a239655fe3d29f55 100644 --- a/Library/Homebrew/utils/inreplace.rb +++ b/Library/Homebrew/utils/inreplace.rb @@ -34,7 +34,7 @@ module Utils # @api public sig do params( - paths: T::Array[T.untyped], + paths: T.any(T::Array[T.untyped], String), before: T.nilable(T.any(Regexp, String)), after: T.nilable(T.any(String, Symbol)), audit_result: T::Boolean,