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;