[Messenger] fix broken key normalization
This commit is contained in:
parent
511fc93640
commit
9931b3e183
@ -1114,6 +1114,7 @@ class Configuration implements ConfigurationInterface
|
||||
->end()
|
||||
->children()
|
||||
->arrayNode('routing')
|
||||
->normalizeKeys(false)
|
||||
->useAttributeAsKey('message_class')
|
||||
->beforeNormalization()
|
||||
->always()
|
||||
@ -1173,6 +1174,7 @@ class Configuration implements ConfigurationInterface
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('transports')
|
||||
->normalizeKeys(false)
|
||||
->useAttributeAsKey('name')
|
||||
->arrayPrototype()
|
||||
->beforeNormalization()
|
||||
@ -1220,6 +1222,7 @@ class Configuration implements ConfigurationInterface
|
||||
->scalarNode('default_bus')->defaultNull()->end()
|
||||
->arrayNode('buses')
|
||||
->defaultValue(['messenger.bus.default' => ['default_middleware' => true, 'middleware' => []]])
|
||||
->normalizeKeys(false)
|
||||
->useAttributeAsKey('name')
|
||||
->arrayPrototype()
|
||||
->addDefaultsIfNotSet()
|
||||
|
Reference in New Issue
Block a user