diff --git a/Library/Homebrew/api/download.rb b/Library/Homebrew/api/download.rb index cd74c2b33d..a13bfe73ca 100644 --- a/Library/Homebrew/api/download.rb +++ b/Library/Homebrew/api/download.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "downloadable" @@ -23,7 +23,7 @@ module Homebrew } def initialize(url, checksum, mirrors: [], cache: nil) super() - @url = URL.new(url, using: API::DownloadStrategy) + @url = T.let(URL.new(url, using: API::DownloadStrategy), URL) @checksum = checksum @mirrors = mirrors @cache = cache