Skip to content

Commit

Permalink
Adds support for Pusher 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed May 3, 2021
1 parent a011109 commit a6f6576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -144,7 +144,7 @@
"phpunit/phpunit": "Required to use assertions and run tests (^8.5.8|^9.3.3).",
"predis/predis": "Required to use the predis connector (^1.1.2).",
"psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0).",
"symfony/cache": "Required to PSR-6 cache bridge (^5.1.4).",
"symfony/filesystem": "Required to enable support for relative symbolic links (^5.1.4).",
"symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).",
Expand Down
3 changes: 2 additions & 1 deletion src/Illuminate/Broadcasting/BroadcastManager.php
Expand Up @@ -212,7 +212,8 @@ protected function createPusherDriver(array $config)
{
$pusher = new Pusher(
$config['key'], $config['secret'],
$config['app_id'], $config['options'] ?? []
$config['app_id'], $config['options'] ?? [],
$config['guzzle'] ?? null
);

if ($config['log'] ?? false) {
Expand Down

0 comments on commit a6f6576

Please sign in to comment.