Skip to content

Commit 9931b3e

Browse files
committed
[Messenger] fix broken key normalization
1 parent 511fc93 commit 9931b3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,7 @@ private function addMessengerSection(ArrayNodeDefinition $rootNode)
11141114
->end()
11151115
->children()
11161116
->arrayNode('routing')
1117+
->normalizeKeys(false)
11171118
->useAttributeAsKey('message_class')
11181119
->beforeNormalization()
11191120
->always()
@@ -1173,6 +1174,7 @@ function ($a) {
11731174
->end()
11741175
->end()
11751176
->arrayNode('transports')
1177+
->normalizeKeys(false)
11761178
->useAttributeAsKey('name')
11771179
->arrayPrototype()
11781180
->beforeNormalization()
@@ -1220,6 +1222,7 @@ function ($a) {
12201222
->scalarNode('default_bus')->defaultNull()->end()
12211223
->arrayNode('buses')
12221224
->defaultValue(['messenger.bus.default' => ['default_middleware' => true, 'middleware' => []]])
1225+
->normalizeKeys(false)
12231226
->useAttributeAsKey('name')
12241227
->arrayPrototype()
12251228
->addDefaultsIfNotSet()

0 commit comments

Comments
 (0)