From b88158c148d02e71365ed497c3c30bb383d05912 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Mon, 9 Aug 2021 17:20:27 -0400 Subject: [PATCH] Fix type for `Homebrew::API::Bottle::download_bottle` --- Library/Homebrew/api/bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/api/bottle.rb b/Library/Homebrew/api/bottle.rb index 49aabcc8b7..fa547ad485 100644 --- a/Library/Homebrew/api/bottle.rb +++ b/Library/Homebrew/api/bottle.rb @@ -66,7 +66,7 @@ module Homebrew match[:sha256] end - sig { params(hash: Hash, tag: Symbol).void } + sig { params(hash: Hash, tag: String).void } def download_bottle(hash, tag) bottle = hash["bottles"][tag] bottle ||= hash["bottles"]["all"]