Skip to content
Snippets Groups Projects
Unverified Commit 181baaaf authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #9203 from jonchang/fix-named-args-typing

cli: fix type signature of to_kegs_to_casks
parents 1e9710fd a094e433
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ module Homebrew
end
end
sig { params(only: Symbol).returns([T::Array[Keg], T::Array[Cask::Cask]]) }
sig { params(only: T.nilable(Symbol)).returns([T::Array[Keg], T::Array[Cask::Cask]]) }
def to_kegs_to_casks(only: nil)
@to_kegs_to_casks ||= to_formulae_and_casks(only: only, method: :keg)
.partition { |o| o.is_a?(Keg) }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment