From b77a7375afc8b7ec8703f777804410dc0eb40635 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 6 Sep 2025 22:49:16 -0700 Subject: [PATCH] Fix cleanup_spec --- Library/Homebrew/formulary.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index b9bad8ecf3..bac13c88fe 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -51,7 +51,8 @@ module Formulary end private_class_method :platform_cache_tag - sig { returns(T::Hash[Symbol, T::Hash[String, T.class_of(Formula)]]) } + # The untyped nested hash values are a mix of Formula instances and Formula classes. + sig { returns(T::Hash[Symbol, T::Hash[String, T.untyped]]) } def self.platform_cache cache[platform_cache_tag] ||= {} end