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

Commit 5c3e87e

Browse files
authored
Apply fixes from StyleCI (#461)
1 parent 25694c7 commit 5c3e87e

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/WebSocketsServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Illuminate\Support\ServiceProvider;
2121
use Psr\Log\LoggerInterface;
2222
use Pusher\Pusher;
23-
use React\EventLoop\Factory as LoopFactory;
2423

2524
class WebSocketsServiceProvider extends ServiceProvider
2625
{

tests/Channels/PresenceChannelTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ public function clients_with_valid_auth_signatures_can_join_presence_channels()
6363
json_encode($channelData),
6464
])
6565
->assertCalledWithArgs('hgetall', [
66-
'1234:presence-channel'
66+
'1234:presence-channel',
6767
]);
68-
// TODO: This fails somehow
68+
// TODO: This fails somehow
6969
// Debugging shows the exact same pattern as good.
7070
/* ->assertCalledWithArgs('publish', [
7171
'1234:presence-channel',

tests/Mocks/RedisFactory.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
namespace BeyondCode\LaravelWebSockets\Tests\Mocks;
44

5-
use Clue\Redis\Protocol\Factory as ProtocolFactory;
65
use Clue\React\Redis\Factory;
7-
use React\EventLoop\Factory as LoopFactory;
6+
use Clue\Redis\Protocol\Factory as ProtocolFactory;
87
use React\EventLoop\LoopInterface;
98
use React\Socket\ConnectorInterface;
109

@@ -28,7 +27,7 @@ public function __construct(LoopInterface $loop, ConnectorInterface $connector =
2827
}
2928

3029
/**
31-
* Create Redis client connected to address of given redis instance
30+
* Create Redis client connected to address of given redis instance.
3231
*
3332
* @param string $target
3433
* @return Client

0 commit comments

Comments
 (0)