unpack_strategy/p7zip: update types

This commit is contained in:
Bevan Kay 2024-07-28 22:31:11 +10:00
parent 98ec6a9722
commit 0a658a3290
No known key found for this signature in database
GPG Key ID: C55CB024B5314B57

View File

@ -16,7 +16,7 @@ module UnpackStrategy
path.magic_number.match?(/\A7z\xBC\xAF\x27\x1C/n) path.magic_number.match?(/\A7z\xBC\xAF\x27\x1C/n)
end end
sig { returns(T.nilable(T::Array[Formula])) } sig { returns(T::Array[Formula]) }
def dependencies def dependencies
@dependencies ||= T.let([Formula["p7zip"]], T.nilable(T::Array[Formula])) @dependencies ||= T.let([Formula["p7zip"]], T.nilable(T::Array[Formula]))
end end