From 943644902a5421ccbaf749c81def87a7591069d7 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 6 Jun 2022 22:42:39 +0200 Subject: [PATCH] Composer2 cleanup --- src/Flex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Flex.php b/src/Flex.php index 76a880b99..7d1835d15 100644 --- a/src/Flex.php +++ b/src/Flex.php @@ -206,7 +206,7 @@ public function configureInstaller() $this->installer = $trace['object']->setSuggestedPackagesReporter(new SuggestedPackagesReporter(new NullIO())); $updateAllowList = \Closure::bind(function () { - return $this->updateWhitelist ?? $this->updateAllowList ?? null; + return $this->updateAllowList; }, $this->installer, $this->installer)(); if (['php' => 0] === $updateAllowList) {