1
0
Fork 0

Fix issue when multiple paths are mapped to one dir in the show command

pull/2245/merge
Jordi Boggiano 2013-09-09 16:52:59 +02:00
parent 0eb2821733
commit e330763c5f
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ EOT
if ($type === 'psr-0') { if ($type === 'psr-0') {
foreach ($autoloads as $name => $path) { foreach ($autoloads as $name => $path) {
$output->writeln(($name ?: '*') . ' => ' . ($path ?: '.')); $output->writeln(($name ?: '*') . ' => ' . (is_array($path) ? implode(', ', $path) : ($path ?: '.')));
} }
} elseif ($type === 'classmap') { } elseif ($type === 'classmap') {
$output->writeln(implode(', ', $autoloads)); $output->writeln(implode(', ', $autoloads));