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

Commit b2ac909

Browse files
authored
Apply fixes from StyleCI (#503)
1 parent 1e2672d commit b2ac909

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

tests/Channels/PresenceChannelReplicationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use BeyondCode\LaravelWebSockets\Tests\Mocks\Message;
66
use BeyondCode\LaravelWebSockets\Tests\TestCase;
7-
use Illuminate\Support\Facades\Redis;
87

98
class PresenceChannelReplicationTest extends TestCase
109
{

tests/ConnectionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\ConnectionsOverCapacity;
88
use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\OriginNotAllowed;
99
use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\UnknownAppKey;
10-
use Illuminate\Support\Facades\Redis;
1110

1211
class ConnectionTest extends TestCase
1312
{

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ protected function configurePubSub()
274274

275275
// Replace the publish and subscribe clients with a Mocked
276276
// factory lazy instance on boot.
277-
$this->app->singleton(ReplicationInterface::class, function () use ($replicationDriver) {
277+
$this->app->singleton(ReplicationInterface::class, function () {
278278
$client = config(
279279
"websockets.replication.{$driver}.client",
280280
\BeyondCode\LaravelWebSockets\PubSub\Drivers\LocalClient::class

0 commit comments

Comments
 (0)