From 4ff88385f858fdda921e77712be859c630c5d0d1 Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Thu, 27 Jan 2022 12:23:40 -0500 Subject: [PATCH] `brew typecheck --fix` --- Library/Homebrew/livecheck/strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index 3731107461..f0aacdfd93 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -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