[Server] Add Bidirectional Client Communication Support (#109)

* feat(server): add bidirectional client communication support

* fix(server): use correct session ID string conversion method

* fix: clean up docblocks for request handler methods in Builder

* fix: merge artifacts
This commit is contained in:
Kyrian Obikwelu 2025-10-26 22:48:17 +01:00 • committed by GitHub
commit f1b471a219
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,7 +98,7 @@ final class MessageFactoryTest extends TestCase
$results = $this->factory->create($json);
$this->assertCount(1, $results);
/** @var Response $result */
/** @var Response<array<string, mixed>> $result */
$result = $results[0];
$this->assertInstanceOf(Response::class, $result);
$this->assertSame(456, $result->getId());
@ -113,7 +113,7 @@ final class MessageFactoryTest extends TestCase
$results = $this->factory->create($json);
$this->assertCount(1, $results);
/** @var Response $result */
/** @var Response<array<string, mixed>> $result */
$result = $results[0];
$this->assertInstanceOf(Response::class, $result);
$this->assertSame('response-1', $result->getId());