brew typecheck --fix

This commit is contained in:
Nanda H Krishna 2022-01-27 12:23:40 -05:00
parent 7d611a541c
commit 4ff88385f8
No known key found for this signature in database
GPG Key ID: 067E5FCD58ADF3AA

View File

@ -118,7 +118,7 @@ module Homebrew
# @param symbol [Symbol, nil] the strategy name in snake case as a
# `Symbol` (e.g. `:page_match`)
# @return [Class, nil]
sig { params(symbol: T.nilable(Symbol)).returns(T.nilable(T.untyped)) }
sig { params(symbol: T.nilable(Symbol)).returns(T.untyped) }
def from_symbol(symbol)
strategies[symbol] if symbol.present?
end