8000 [Notifier] Remove not needed argument $bus in BrowserChannel::notify() · symfony/symfony@ab4123c · GitHub
[go: up one dir, main page]

Skip to content

Commit ab4123c

Browse files
committed
[Notifier] Remove not needed argument $bus in BrowserChannel::notify()
1 parent 05f71d3 commit ab4123c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Notifier/Channel/BrowserChannel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Notifier\Channel;
1313

1414
use Symfony\Component\HttpFoundation\RequestStack;
15-
use Symfony\Component\Messenger\MessageBusInterface;
1615
use Symfony\Component\Notifier\Notification\Notification;
1716
use Symfony\Component\Notifier\Recipient\Recipient;
1817

@@ -30,7 +29,7 @@ public function __construct(RequestStack $stack)
3029
$this->stack = $stack;
3130
}
3231

33-
public function notify(Notification $notification, Recipient $recipient, string $transportName = null, MessageBusInterface $bus = null): void
32+
public function notify(Notification $notification, Recipient $recipient, string $transportName = null): void
3433
{
3534
if (null === $request = $this->stack->getCurrentRequest()) {
3635
return;

0 commit comments

Comments
 (0)
0