Fix redis-pusher broadcast driver, wrong params for extend() callable
This commit is contained in:
parent
b7ae9bac4a
commit
faf2c75d3d
|
|
@ -46,7 +46,7 @@ class WebSocketsServiceProvider extends ServiceProvider
|
||||||
Console\CleanStatistics::class,
|
Console\CleanStatistics::class,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$broadcastManager->extend('redis-pusher', function (array $config) {
|
$broadcastManager->extend('redis-pusher', function ($app, array $config) {
|
||||||
$pusher = new Pusher(
|
$pusher = new Pusher(
|
||||||
$config['key'], $config['secret'],
|
$config['key'], $config['secret'],
|
||||||
$config['app_id'], $config['options'] ?? []
|
$config['app_id'], $config['options'] ?? []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue