Skip to content

Commit

Permalink
[FrameworkBundle] Revert changed console output for Iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
jschaedl committed May 7, 2019
1 parent 6c4d190 commit fb53604
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -341,9 +341,9 @@ protected function describeContainerDefinition(Definition $definition, array $op
$argumentsInformation[] = sprintf('Service(%s)', (string) $argument);
} elseif ($argument instanceof IteratorArgument) {
if ($argument instanceof TaggedIteratorArgument) {
$argumentsInformation[] = sprintf('Tagged Iterator for "%s"%s', $argument->getTag(), $options['is_debug'] ? '': sprintf(' (%d element(s))', \count($argument->getValues())));
$argumentsInformation[] = sprintf('Tagged Iterator for "%s"%s', $argument->getTag(), $options['is_debug'] ? '' : sprintf(' (%d element(s))', \count($argument->getValues())));
} else {
$argumentsInformation[] = sprintf('Iterator%s', $options['is_debug'] ? '' : sprintf(' (%d element(s))', \count($argument->getValues())));
$argumentsInformation[] = sprintf('Iterator (%d element(s))', \count($argument->getValues()));
}
} elseif ($argument instanceof Definition) {
$argumentsInformation[] = 'Inlined Service';
Expand Down

0 comments on commit fb53604

Please sign in to comment.