Skip to content

Commit de5d4a9

Browse files
Merge branch '6.4' into 7.1
* 6.4: fix: notifier push channel bus abstract arg
2 parents 1d616d7 + b7716f1 commit de5d4a9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: DependencyInjection/FrameworkExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2714,7 +2714,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
27142714
$container->removeDefinition('notifier.channel.email');
27152715
}
27162716

2717-
foreach (['texter', 'chatter', 'notifier.channel.chat', 'notifier.channel.email', 'notifier.channel.sms'] as $serviceId) {
2717+
foreach (['texter', 'chatter', 'notifier.channel.chat', 'notifier.channel.email', 'notifier.channel.sms', 'notifier.channel.push'] as $serviceId) {
27182718
if (!$container->hasDefinition($serviceId)) {
27192719
continue;
27202720
}

Diff for: Resources/config/notifier.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@
7373
->tag('notifier.channel', ['channel' => 'email'])
7474

7575
->set('notifier.channel.push', PushChannel::class)
76-
->args([service('texter.transports'), service('messenger.default_bus')->ignoreOnInvalid()])
76+
->args([
77+
service('texter.transports'),
78+
abstract_arg('message bus'),
79+
])
7780
->tag('notifier.channel', ['channel' => 'push'])
7881

7982
->set('notifier.monolog_handler', NotifierHandler::class)

0 commit comments

Comments
 (0)