Skip to content

Commit b7716f1

Browse files
fix: notifier push channel bus abstract arg
1 parent e8b0bd9 commit b7716f1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2765,7 +2765,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
27652765
$container->removeDefinition('notifier.channel.email');
27662766
}
27672767

2768-
foreach (['texter', 'chatter', 'notifier.channel.chat', 'notifier.channel.email', 'notifier.channel.sms'] as $serviceId) {
2768+
foreach (['texter', 'chatter', 'notifier.channel.chat', 'notifier.channel.email', 'notifier.channel.sms', 'notifier.channel.push'] as $serviceId) {
27692769
if (!$container->hasDefinition($serviceId)) {
27702770
continue;
27712771
}

Resources/config/notifier.php

Lines changed: 4 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy