Skip to content

Commit

Permalink
Merge pull request #416 from beyondcode/analysis-BojnM6
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
mpociot authored Jul 21, 2024
2 parents f1f7ee1 + 863975c commit d64cd02
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 d64cd02

Please sign in to comment.