1
0
Fork 0

Deduplicate packages with a similar name/version in the error output

pull/839/head
Jordi Boggiano 2012-06-25 15:55:56 +02:00
parent adaa788955
commit 698c642a9f
1 changed files with 2 additions and 2 deletions

View File

@ -149,11 +149,11 @@ class Problem
protected function getPackageList($packages) protected function getPackageList($packages)
{ {
return implode(', ', array_map(function ($package) { return implode(', ', array_unique(array_map(function ($package) {
return $package->getPrettyString(); return $package->getPrettyString();
}, },
$packages $packages
)); )));
} }
/** /**