Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Nov 14, 2023
1 parent 7050e6d commit 123a624
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/WebSockets/WebSocketMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ protected function connection(ServerRequestInterface $request, WsConnection $con
{
return app(ConnectionManager::class)
->for($app = $this->application($request))
->resolve(
$connection->resourceId,
fn () => new Connection(
->connect(
new Connection(
$connection,
$app,
$this->origin($request)
Expand Down

0 comments on commit 123a624

Please sign in to comment.