Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon authored and github-actions[bot] committed Nov 15, 2023
1 parent b4a3b60 commit 2dc6b7d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/Servers/Reverb/Console/Commands/StartServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@

use Illuminate\Console\Command;
use Laravel\Reverb\Concerns\InteractsWithAsyncRedis;
use Laravel\Reverb\Contracts\Logger;
use Laravel\Reverb\Jobs\PingInactiveConnections;
use Laravel\Reverb\Jobs\PruneStaleConnections;
use Laravel\Reverb\Loggers\CliLogger;
use Laravel\Reverb\Output;
use Laravel\Reverb\Servers\Reverb\Factory as ServerFactory;
use React\EventLoop\Loop;
Expand Down
2 changes: 1 addition & 1 deletion src/Servers/Reverb/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function make(string $host = '0.0.0.0', string $port = '8080', Loo
gc_enable();
set_time_limit(0);
ob_implicit_flush();

$loop = $loop ?: Loop::get();

$socket = new SocketServer("{$host}:{$port}", [], $loop);
Expand Down
3 changes: 1 addition & 2 deletions src/WebSockets/WebSocketMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
namespace Laravel\Reverb\WebSockets;

use Closure;
use Illuminate\Support\Str;
use Laravel\Reverb\Application;
use Laravel\Reverb\Contracts\ApplicationProvider;
use Laravel\Reverb\Contracts\ConnectionManager;
use Laravel\Reverb\Server;
use Laravel\Reverb\Servers\Reverb\Connection;
use Laravel\Reverb\WebSockets\Request as WebSocketRequest;
use Laravel\Reverb\WebSockets\WsConnection;
use Psr\Http\Message\ServerRequestInterface;
use React\Http\Message\Response;
use Illuminate\Support\Str;

class WebSocketMiddleware
{
Expand Down

0 comments on commit 2dc6b7d

Please sign in to comment.