From a97d13fc6db7a4eecb69aa41231d3eafc799ea20 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 8 Jun 2020 09:33:40 +0100 Subject: [PATCH] Fixed typo Co-authored-by: ZhangWei --- src/Composer/Command/RequireCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/RequireCommand.php b/src/Composer/Command/RequireCommand.php index 45bd315fe..039250766 100644 --- a/src/Composer/Command/RequireCommand.php +++ b/src/Composer/Command/RequireCommand.php @@ -237,7 +237,7 @@ EOT ->setClassMapAuthoritative($authoritative) ->setApcuAutoloader($apcu) ->setUpdate(true) - ->setUpdatAllowList(array_keys($requirements)) + ->setUpdateAllowList(array_keys($requirements)) ->setAllowListTransitiveDependencies($input->getOption('update-with-dependencies')) ->setAllowListAllDependencies($input->getOption('update-with-all-dependencies')) ->setIgnorePlatformRequirements($input->getOption('ignore-platform-reqs'))