Skip to content

Commit 59ab088

Browse files
authored
remove redundant methods in Transport (#163)
1 parent 2ea4e0b commit 59ab088

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/Server/Transport/InMemoryTransport.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
*/
2222
class InMemoryTransport extends BaseTransport implements TransportInterface
2323
{
24-
use ManagesTransportCallbacks;
25-
2624
/**
2725
* @param list<string> $messages
2826
*/
@@ -33,10 +31,6 @@ public function __construct(
3331
parent::__construct($logger);
3432
}
3533

36-
public function initialize(): void
37-
{
38-
}
39-
4034
public function onMessage(callable $listener): void
4135
{
4236
$this->messageListener = $listener;

src/Server/Transport/StreamableHttpTransport.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ public function __construct(
6060
], $corsHeaders);
6161
}
6262

63-
public function initialize(): void
64-
{
65-
}
66-
6763
public function send(string $data, array $context): void
6864
{
6965
$this->immediateResponse = $data;

0 commit comments

Comments
 (0)