1
0
Fork 0

Fix type error

pull/11829/head
Jordi Boggiano 2024-01-26 17:27:42 +01:00
parent 952256247c
commit b1bd22f37c
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ class Factory
$io->loadConfiguration($config); $io->loadConfiguration($config);
// load existing Composer\InstalledVersions instance if available and scripts/plugins are allowed, as they might need it // load existing Composer\InstalledVersions instance if available and scripts/plugins are allowed, as they might need it
if (!$disablePlugins && !$disableScripts && !class_exists('Composer\InstalledVersions', false) && file_exists($installedVersionsPath = $config->get('vendor-dir').'/composer/InstalledVersions.php')) { if (false === $disablePlugins && false === $disableScripts && !class_exists('Composer\InstalledVersions', false) && file_exists($installedVersionsPath = $config->get('vendor-dir').'/composer/InstalledVersions.php')) {
include $installedVersionsPath; include $installedVersionsPath;
} }
} }