Fix cleanup_spec

This commit is contained in:
Douglas Eichelberger 2025-09-06 22:49:16 -07:00
parent 65848d5aab
commit f96d518504
No known key found for this signature in database
GPG Key ID: F90193CBD547EB81

View File

@ -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