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

Commit 373b993

Browse files
rename emptyclient to localclient
1 parent f2b3347 commit 373b993

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PubSub/Drivers/EmptyClient.php renamed to src/PubSub/Drivers/LocalClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use React\Promise\PromiseInterface;
99
use BeyondCode\LaravelWebSockets\PubSub\ReplicationInterface;
1010

11-
class EmptyClient implements ReplicationInterface
11+
class LocalClient implements ReplicationInterface
1212
{
1313
/**
1414
* Boot the pub/sub provider (open connections, initial subscriptions, etc).

src/WebSocketsServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Illuminate\Broadcasting\BroadcastManager;
1111
use BeyondCode\LaravelWebSockets\Server\Router;
1212
use BeyondCode\LaravelWebSockets\Apps\AppProvider;
13-
use BeyondCode\LaravelWebSockets\PubSub\Drivers\EmptyClient;
13+
use BeyondCode\LaravelWebSockets\PubSub\Drivers\LocalClient;
1414
use BeyondCode\LaravelWebSockets\PubSub\Drivers\RedisClient;
1515
use BeyondCode\LaravelWebSockets\PubSub\ReplicationInterface;
1616
use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
@@ -56,7 +56,7 @@ protected function configurePubSub()
5656
{
5757
if (config('websockets.replication.enabled') !== true || config('websockets.replication.driver') !== 'redis') {
5858
$this->app->singleton(ReplicationInterface::class, function () {
59-
return new EmptyClient();
59+
return new LocalClient();
6060
});
6161

6262
return;

0 commit comments

Comments
 (0)