Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit faf2c75

Browse files
committed
Fix redis-pusher broadcast driver, wrong params for extend() callable
1 parent b7ae9ba commit faf2c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebSocketsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function boot(BroadcastManager $broadcastManager)
4646
Console\CleanStatistics::class,
4747
]);
4848

49-
$broadcastManager->extend('redis-pusher', function (array $config) {
49+
$broadcastManager->extend('redis-pusher', function ($app, array $config) {
5050
$pusher = new Pusher(
5151
$config['key'], $config['secret'],
5252
$config['app_id'], $config['options'] ?? []

0 commit comments

Comments
 (0)