Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 21, 2024
1 parent f1f7ee1 commit 863975c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/Client/ProxyManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function createProxy(string $clientId, $connectionData)
$proxyConnection->on('message', function ($message) use (&$localRequestConnection, $proxyConnection, $connectionData) {
if ($localRequestConnection) {
$localRequestConnection->write($message);

return;
}

Expand Down
2 changes: 1 addition & 1 deletion app/Server/Http/Controllers/TunnelMessageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected function sendRequestToClient(Request $request, ControlConnection $cont
$psrHttpFactory = new PsrHttpFactory($psr17Factory, $psr17Factory, $psr17Factory, $psr17Factory);
$request = $psrHttpFactory->createRequest($request);

$httpConnection->getConnection()->on('data', function($d) use ($proxy) {
$httpConnection->getConnection()->on('data', function ($d) use ($proxy) {
$proxy->send(new Frame($d, true, Frame::OP_BINARY));
});

Expand Down

0 comments on commit 863975c

Please sign in to comment.