From e42863fc4a36e8543dc06130abe13eda046b536e Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sat, 10 Aug 2024 23:49:05 +0100 Subject: [PATCH] cmd/home: Bump to Sorbet `typed: strict` --- Library/Homebrew/cmd/home.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/home.rb b/Library/Homebrew/cmd/home.rb index b10ccb406a..8def8448c5 100644 --- a/Library/Homebrew/cmd/home.rb +++ b/Library/Homebrew/cmd/home.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: strict # frozen_string_literal: true require "abstract_command" @@ -41,6 +41,7 @@ module Homebrew private + sig { params(formula_or_cask: T.any(Formula, Cask::Cask)).returns(String) } def name_of(formula_or_cask) if formula_or_cask.is_a? Formula "Formula #{formula_or_cask.name}"