From 980f9271f0c092a7752c5f7e6c7f2cacc44b25ad Mon Sep 17 00:00:00 2001 From: rennokki Date: Tue, 15 Sep 2020 09:30:43 +0000 Subject: [PATCH] Apply fixes from StyleCI (#526) --- src/ChannelManagers/RedisChannelManager.php | 1 - src/Console/Commands/StartServer.php | 2 +- src/Server/MockableConnection.php | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/ChannelManagers/RedisChannelManager.php b/src/ChannelManagers/RedisChannelManager.php index a4f564b..ee8ce76 100644 --- a/src/ChannelManagers/RedisChannelManager.php +++ b/src/ChannelManagers/RedisChannelManager.php @@ -12,7 +12,6 @@ use Illuminate\Cache\RedisLock; use Illuminate\Support\Facades\Redis; use Illuminate\Support\Str; use Ratchet\ConnectionInterface; -use Ratchet\WebSocket\WsConnection; use React\EventLoop\LoopInterface; use React\Promise\PromiseInterface; use stdClass; diff --git a/src/Console/Commands/StartServer.php b/src/Console/Commands/StartServer.php index e6c0676..890a4f1 100644 --- a/src/Console/Commands/StartServer.php +++ b/src/Console/Commands/StartServer.php @@ -187,7 +187,7 @@ class StartServer extends Command /** * Configure the tracker that will delete - * from the store the connections that + * from the store the connections that. * * @return void */ diff --git a/src/Server/MockableConnection.php b/src/Server/MockableConnection.php index 9fb5813..46a2f72 100644 --- a/src/Server/MockableConnection.php +++ b/src/Server/MockableConnection.php @@ -23,21 +23,21 @@ class MockableConnection implements ConnectionInterface } /** - * Send data to the connection + * Send data to the connection. * @param string $data * @return \Ratchet\ConnectionInterface */ - function send($data) + public function send($data) { // } /** - * Close the connection + * Close the connection. * * @return void */ - function close() + public function close() { // }