Fix redis-pusher broadcast driver, wrong params for extend() callable

This commit is contained in:
Francis Lavoie 2019-04-22 11:05:28 -04:00
parent b7ae9bac4a
commit faf2c75d3d
No known key found for this signature in database
GPG Key ID: B9E0E04A76AF4692
1 changed files with 1 additions and 1 deletions

View File

@ -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'] ?? []