We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e12eb92 commit 2127520Copy full SHA for 2127520
src/DependencyInjection/Compiler/AddProcessorsPass.php
@@ -39,7 +39,7 @@ public function process(ContainerBuilder $container)
39
40
foreach ($container->findTaggedServiceIds('monolog.processor') as $id => $tags) {
41
if (array_any($tags, $closure = function (array $tag) { return (bool) $tag; })) {
42
- $tags = array_filter($tags, $closure);
+ $tags = array_values(array_filter($tags, $closure));
43
}
44
45
foreach ($tags as &$tag) {
0 commit comments