From f96d51850432fb847028be968d71cf4271a11d49 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 dcf95aecee..e9c1472ba2 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -50,7 +50,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