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

Commit 1f25913

Browse files
authored
Apply fixes from StyleCI (#1044)
1 parent f2d3bae commit 1f25913

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Console/Commands/StartServer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
use Illuminate\Support\Facades\Cache;
1414
use React\EventLoop\Factory as LoopFactory;
1515
use React\EventLoop\LoopInterface;
16-
use Symfony\Component\Console\Output\OutputInterface;
1716
use function React\Promise\all;
17+
use Symfony\Component\Console\Output\OutputInterface;
1818

1919
class StartServer extends Command
2020
{

src/Server/Loggers/ConnectionLogger.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function send($data)
5050
$socketId = $this->connection->socketId ?? null;
5151
$appId = $this->connection->app->id ?? null;
5252

53-
$this->info("[{$appId}][{$socketId}] Sending message ". ($this->verbose ? $data : ''));
53+
$this->info("[{$appId}][{$socketId}] Sending message ".($this->verbose ? $data : ''));
5454

5555
$this->connection->send($data);
5656
}

src/Server/Loggers/WebSocketsLogger.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function onOpen(ConnectionInterface $connection)
6767
*/
6868
public function onMessage(ConnectionInterface $connection, MessageInterface $message)
6969
{
70-
$this->info("[{$connection->app->id}][{$connection->socketId}] Received message ". ($this->verbose ? $message->getPayload() : ''));
70+
$this->info("[{$connection->app->id}][{$connection->socketId}] Received message ".($this->verbose ? $message->getPayload() : ''));
7171

7272
$this->app->onMessage(ConnectionLogger::decorate($connection), $message);
7373
}

0 commit comments

Comments
 (0)