Skip to content

Commit e02d183

Browse files
Merge branch '5.0'
* 5.0: [DI] fix loading defaults when using the PHP-DSL RepeatedType should always have inner types mapped
2 parents 2e07d4f + 1c6dd4a commit e02d183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Console/Descriptor/TextDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ protected function describeContainerDeprecations(ContainerBuilder $builder, arra
386386

387387
protected function describeContainerAlias(Alias $alias, array $options = [], ContainerBuilder $builder = null)
388388
{
389-
if ($alias->isPublic()) {
389+
if ($alias->isPublic() && !$alias->isPrivate()) {
390390
$options['output']->comment(sprintf('This service is a <info>public</info> alias for the service <info>%s</info>', (string) $alias));
391391
} else {
392392
$options['output']->comment(sprintf('This service is a <comment>private</comment> alias for the service <info>%s</info>', (string) $alias));

0 commit comments

Comments
 (0)