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

Apply fixes from StyleCI #461

Merged
merged 1 commit into from
Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/WebSocketsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use Illuminate\Support\ServiceProvider;
use Psr\Log\LoggerInterface;
use Pusher\Pusher;
use React\EventLoop\Factory as LoopFactory;

class WebSocketsServiceProvider extends ServiceProvider
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Channels/PresenceChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public function clients_with_valid_auth_signatures_can_join_presence_channels()
json_encode($channelData),
])
->assertCalledWithArgs('hgetall', [
'1234:presence-channel'
'1234:presence-channel',
]);
// TODO: This fails somehow
// TODO: This fails somehow
// Debugging shows the exact same pattern as good.
/* ->assertCalledWithArgs('publish', [
'1234:presence-channel',
Expand Down
5 changes: 2 additions & 3 deletions tests/Mocks/RedisFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

namespace BeyondCode\LaravelWebSockets\Tests\Mocks;

use Clue\Redis\Protocol\Factory as ProtocolFactory;
use Clue\React\Redis\Factory;
use React\EventLoop\Factory as LoopFactory;
use Clue\Redis\Protocol\Factory as ProtocolFactory;
use React\EventLoop\LoopInterface;
use React\Socket\ConnectorInterface;

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

/**
* Create Redis client connected to address of given redis instance
* Create Redis client connected to address of given redis instance.
*
* @param string $target
* @return Client
Expand Down