Fix issue when multiple paths are mapped to one dir in the show command
parent
0eb2821733
commit
e330763c5f
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue