From 71005091f0cc85c167a636a8697ee57617c44556 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 13 Feb 2020 22:19:32 +0100 Subject: [PATCH] Fix invalid access to private prop --- src/Composer/Repository/InstalledRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/InstalledRepository.php b/src/Composer/Repository/InstalledRepository.php index 42a8d3ce6..13cd572f8 100644 --- a/src/Composer/Repository/InstalledRepository.php +++ b/src/Composer/Repository/InstalledRepository.php @@ -208,7 +208,7 @@ class InstalledRepository extends CompositeRepository public function getRepoName() { - return 'installed repo ('.implode(', ', array_map(function ($repo) { return $repo->getRepoName(); }, $this->repositories)).')'; + return 'installed repo ('.implode(', ', array_map(function ($repo) { return $repo->getRepoName(); }, $this->getRepositories())).')'; } /**