8000 Merge branch '7.1' into 7.2 · symfony/framework-bundle@4d4421c · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 4d4421c

Browse files
Merge branch '7.1' into 7.2
* 7.1: fix: notifier push channel bus abstract arg [Scheduler] remove dead code
2 parents 18cb4e0 + de5d4a9 commit 4d4421c

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
@@ -2784,7 +2784,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
27842784
$container->removeDefinition('notifier.channel.email');
27852785
}
27862786

2787-
foreach (['texter', 'chatter', 'notifier.channel.chat', 'notifier.channel.email', 'notifier.channel.sms'] as $serviceId) {
2787+
foreach (['texter', 'chatter', 'notifier.channel.chat', 'notifier.channel.email', 'notifier.channel.sms', 'notifier.channel.push'] as $serviceId) {
27882788
if (!$container->hasDefinition($serviceId)) {
27892789
continue;
27902790
}

Resources/config/notifier.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@
7575
->tag('notifier.channel', ['channel' => 'email'])
7676

7777
->set('notifier.channel.push', PushChannel::class)
78-
->args([service('texter.transports'), service('messenger.default_bus')->ignoreOnInvalid()])
78+
->args([
79+
service('texter.transports'),
80+
abstract_arg('message bus'),
81+
])
7982
->tag('notifier.channel', ['channel' => 'push'])
8083

8184
->set('notifier.channel.desktop', DesktopChannel::class)

0 commit comments

Comments
 (0)
0