File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Symfony/Bundle/FrameworkBundle
Tests/DependencyInjection/Fixtures/php Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -972,10 +972,10 @@ private function addMessengerSection(ArrayNodeDefinition $rootNode)
972
972
->beforeNormalization ()
973
973
->always ()
974
974
->then (function ($ config ) {
975
- $ newConfig = [] ;
975
+ $ newConfig = array () ;
976
976
foreach ($ config as $ k => $ v ) {
977
977
if (!is_int ($ k )) {
978
- $ newConfig [$ k ] = array ('senders ' => is_array ($ v ) ? array_values ($ v ) : array ($ v ));
978
+ $ newConfig [$ k ] = array ('senders ' => is_array ($ v ) ? array_values ($ v ) : array ($ v ));
979
979
} else {
980
980
$ newConfig [$ v ['message-class ' ]]['senders ' ] = array_map (
981
981
function ($ a ) {
Original file line number Diff line number Diff line change 3
3
$ container ->loadFromExtension ('framework ' , array (
4
4
'messenger ' => array (
5
5
'routing ' => array (
6
- 'App\Bar ' => [ 'sender.bar ' , 'sender.biz ' ] ,
6
+ 'App\Bar ' => array ( 'sender.bar ' , 'sender.biz ' ) ,
7
7
'App\Foo ' => 'sender.foo ' ,
8
8
),
9
9
),
You can’t perform that action at this time.
0 commit comments