1
0
Fork 0

Merge branch 'master' into 2.0

pull/8528/head
Jordi Boggiano 2020-01-14 15:46:30 +01:00
commit 13f1924892
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ EOT
// Collect existing packages // Collect existing packages
$composer = $this->getComposer(false); $composer = $this->getComposer(false);
$installedRepo = $composer ? $composer->getRepositoryManager()->getLocalRepository() : null; $installedRepo = $composer ? $composer->getRepositoryManager()->getLocalRepository() : null;
$existingPackages = []; $existingPackages = array();
if ($installedRepo) { if ($installedRepo) {
foreach ($installedRepo->getPackages() as $package) { foreach ($installedRepo->getPackages() as $package) {
$existingPackages[] = $package->getName(); $existingPackages[] = $package->getName();