Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fa9b984

Browse filesBrowse files
committed
[Messenger] Fix default bus name
1 parent ef2c091 commit fa9b984
Copy full SHA for fa9b984

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ function ($a) {
10471047
->end()
10481048
->scalarNode('default_bus')->defaultValue(null)->end()
10491049
->arrayNode('buses')
1050-
->defaultValue(array('default' => array('default_middleware' => true, 'middleware' => array())))
1050+
->defaultValue(array('messenger.bus.default' => array('default_middleware' => true, 'middleware' => array())))
10511051
->useAttributeAsKey('name')
10521052
->prototype('array')
10531053
->addDefaultsIfNotSet()

‎src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor
263263
'encoder' => 'messenger.transport.serializer',
264264
'decoder' => 'messenger.transport.serializer',
265265
'default_bus' => null,
266-
'buses' => array('default' => array('default_middleware' => true, 'middleware' => array())),
266+
'buses' => array('messenger.bus.default' => array('default_middleware' => true, 'middleware' => array())),
267267
),
268268
);
269269
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.