Merge pull request #18042 from Homebrew/download-typed-strict
This commit is contained in:
		
						commit
						79d887afa2
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user