Explorar o código

Make config non optional, fixes #8896

Jordi Boggiano %!s(int64=4) %!d(string=hai) anos
pai
achega
d42e12c514
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;