diff --git a/src/Composer/Installer/InstallationManager.php b/src/Composer/Installer/InstallationManager.php index f7e1b9f9d..0fcd462a1 100644 --- a/src/Composer/Installer/InstallationManager.php +++ b/src/Composer/Installer/InstallationManager.php @@ -267,7 +267,7 @@ class InstallationManager // avoid calling cleanup if the download was not even initialized for a package // as without installation source configured nothing will work if (!$package->getInstallationSource()) { - return \React\Promise\resolve(); + return \React\Promise\resolve(null); } return $installer->cleanup($opType, $package, $initialPackage);