瀏覽代碼

Make config non optional, fixes #8896

Jordi Boggiano 4 年之前
父節點
當前提交
d42e12c514
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Factory.php

+ 1 - 1
src/Composer/Factory.php

@@ -584,7 +584,7 @@ class Factory
      * @param  array            $options Array of options passed directly to HttpDownloader constructor
      * @return HttpDownloader
      */
-    public static function createHttpDownloader(IOInterface $io, Config $config = null, $options = array())
+    public static function createHttpDownloader(IOInterface $io, Config $config, $options = array())
     {
         static $warned = false;
         $disableTls = false;