From ab4123ce68eb94b328e8988cb7416138fb0cbae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4dlich?= Date: Tue, 18 Feb 2020 11:54:21 +0100 Subject: [PATCH] [Notifier] Remove not needed argument $bus in BrowserChannel::notify() --- src/Symfony/Component/Notifier/Channel/BrowserChannel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Symfony/Component/Notifier/Channel/BrowserChannel.php b/src/Symfony/Component/Notifier/Channel/BrowserChannel.php index bd6bb29660..c0f6dbc7bf 100644 --- a/src/Symfony/Component/Notifier/Channel/BrowserChannel.php +++ b/src/Symfony/Component/Notifier/Channel/BrowserChannel.php @@ -12,7 +12,6 @@ namespace Symfony\Component\Notifier\Channel; use Symfony\Component\HttpFoundation\RequestStack; -use Symfony\Component\Messenger\MessageBusInterface; use Symfony\Component\Notifier\Notification\Notification; use Symfony\Component\Notifier\Recipient\Recipient; @@ -30,7 +29,7 @@ final class BrowserChannel implements ChannelInterface $this->stack = $stack; } - public function notify(Notification $notification, Recipient $recipient, string $transportName = null, MessageBusInterface $bus = null): void + public function notify(Notification $notification, Recipient $recipient, string $transportName = null): void { if (null === $request = $this->stack->getCurrentRequest()) { return;