Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitfa9b984

Browse files
committed
[Messenger] Fix default bus name
1 parentef2c091 commitfa9b984

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines 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‎

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp