Skip to content

Commit 7d092a4

Browse files
github-actionsgithub-actions[bot]
authored andcommitted
style(php-cs-fixer): fix coding standards
1 parent b3f0086 commit 7d092a4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Transports/HttpServerTransport.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@
2020
use React\Http\Message\Response;
2121
use React\Promise\Deferred;
2222
use React\Promise\PromiseInterface;
23+
use React\Stream\ThroughStream;
24+
use React\Stream\WritableStreamInterface;
2325

2426
use function React\Promise\reject;
2527
use function React\Promise\resolve;
2628

27-
use React\Stream\ThroughStream;
28-
use React\Stream\WritableStreamInterface;
29-
3029
final class HttpServerTransport implements ServerTransportInterface
3130
{
3231
private readonly string $ssePath;
@@ -197,7 +196,7 @@ function (EventEmitterInterface $events) use ($sessionId, $request, $sseStream):
197196

198197
try {
199198
$baseUri = $request->getUri()->withPath($this->messagePath)->withQuery('')->withFragment('');
200-
$postEndpointWithId = (string)$baseUri->withQuery("clientId={$sessionId}");
199+
$postEndpointWithId = (string) $baseUri->withQuery("clientId={$sessionId}");
201200
$this->sendSseEvent($sseStream, 'endpoint', $postEndpointWithId, "init-{$sessionId}");
202201

203202
$events->emit('client_connected', [$sessionId]);

0 commit comments

Comments
 (0)