Skip to content

Commit 8169369

Browse files
klapaudiusgithub-actions[bot]
authored andcommitted
Fix styling
1 parent f55c89a commit 8169369

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Transports/SseTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ final class SseTransport implements SseTransportInterface
5959
/**
6060
* Initializes the class with the default path, adapter, logger, and ping settings.
6161
*
62-
* @param RouterInterface $router The router instance (optional).
62+
* @param RouterInterface $router The router instance (optional).
6363
* @param SseAdapterInterface|null $adapter Optional adapter for message persistence and retrieval (e.g., Redis).
6464
* Enables simulation of request/response patterns over SSE.
6565
* @param LoggerInterface|null $logger The logger instance (optional).

tests/Transports/SseTransportTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ public function test_initialize_generates_client_id_and_sends_endpoint(): void
7171
$this->assertArrayHasKey('sessionId', $parameters);
7272

7373
return '/default-path/messages?sessionId='.$parameters['sessionId'];
74-
})
75-
;
74+
});
7675
// Act
7776
ob_start();
7877
try {
@@ -103,7 +102,7 @@ public function test_initialize_does_not_overwrite_existing_client_id(): void
103102
->expects($this->once())
104103
->method('generate')
105104
->with('message_route', ['sessionId' => $existingClientId])
106-
->willReturn('/default-path/messages?sessionId=' . $existingClientId);
105+
->willReturn('/default-path/messages?sessionId='.$existingClientId);
107106

108107
// Act
109108
ob_start();

0 commit comments

Comments
 (0)