Skip to content

Commit 2127520

Browse files
committed
Fix tags must be a list
Workaround a bug introduced in symfony/symfony#62329
1 parent e12eb92 commit 2127520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/Compiler/AddProcessorsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function process(ContainerBuilder $container)
3939

4040
foreach ($container->findTaggedServiceIds('monolog.processor') as $id => $tags) {
4141
if (array_any($tags, $closure = function (array $tag) { return (bool) $tag; })) {
42-
$tags = array_filter($tags, $closure);
42+
$tags = array_values(array_filter($tags, $closure));
4343
}
4444

4545
foreach ($tags as &$tag) {

0 commit comments

Comments
 (0)