Переглянути джерело

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;