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

Appearance settings

Commit 85340ab

Browse filesBrowse files
committed
remove the ChatterInterface alias when the chatter service is removed
1 parent f7a2c37 commit 85340ab
Copy full SHA for 85340ab

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
use Symfony\Component\Notifier\Bridge\Vonage\VonageTransportFactory;
163163
use Symfony\Component\Notifier\Bridge\Yunpian\YunpianTransportFactory;
164164
use Symfony\Component\Notifier\Bridge\Zulip\ZulipTransportFactory;
165+
use Symfony\Component\Notifier\ChatterInterface;
165166
use Symfony\Component\Notifier\Notifier;
166167
use Symfony\Component\Notifier\Recipient\Recipient;
167168
use Symfony\Component\Notifier\Transport\TransportFactoryInterface as NotifierTransportFactoryInterface;
@@ -2489,6 +2490,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
24892490
$container->getDefinition('chatter.transports')->setArgument(0, $config['chatter_transports']);
24902491
} else {
24912492
$container->removeDefinition('chatter');
2493+
$container->removeAlias(ChatterInterface::class);
24922494
}
24932495
if ($config['texter_transports']) {
24942496
$container->getDefinition('texter.transports')->setArgument(0, $config['texter_transports']);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.