From d42e12c5144dff2fca3edd37c74d4b655c857804 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 19 May 2020 16:34:51 +0200 Subject: [PATCH] Make config non optional, fixes #8896 --- src/Composer/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Factory.php b/src/Composer/Factory.php index 9160ce2f5..1b084461c 100644 --- a/src/Composer/Factory.php +++ b/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;