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

Commit 14f54da

Browse files
committed
$this->app->make
1 parent 8f52393 commit 14f54da

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/WebSocketsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function configurePubSub()
6666
});
6767
}
6868

69-
$this->app->get(BroadcastManager::class)->extend('websockets', function ($app, array $config) {
69+
$this->app->make(BroadcastManager::class)->extend('websockets', function ($app, array $config) {
7070
$pusher = new Pusher(
7171
$config['key'], $config['secret'],
7272
$config['app_id'], $config['options'] ?? []

tests/TestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public function setUp(): void
4040
protected function getPackageProviders($app)
4141
{
4242
return [
43-
\Illuminate\Broadcasting\BroadcastServiceProvider::class,
4443
\BeyondCode\LaravelWebSockets\WebSocketsServiceProvider::class,
4544
];
4645
}

0 commit comments

Comments
 (0)