1
0
Fork 0

Fix 5.3 build

pull/8538/head
Jordi Boggiano 2020-01-14 15:42:43 +01:00
parent 4b6c25d4bc
commit e4b495ca16
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();