remove redundant methods in Transport (#163)

This commit is contained in:
Tobias Nyholm 2025-11-22 11:56:46 +01:00 • committed by GitHub
commit 59ab0888b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 10 deletions

View file

@ -21,8 +21,6 @@ use Symfony\Component\Uid\Uuid;
*/ */
class InMemoryTransport extends BaseTransport implements TransportInterface class InMemoryTransport extends BaseTransport implements TransportInterface
{ {
use ManagesTransportCallbacks;
/** /**
* @param list<string> $messages * @param list<string> $messages
*/ */
@ -33,10 +31,6 @@ class InMemoryTransport extends BaseTransport implements TransportInterface
parent::__construct($logger); parent::__construct($logger);
} }
public function initialize(): void
{
}
public function onMessage(callable $listener): void public function onMessage(callable $listener): void
{ {
$this->messageListener = $listener; $this->messageListener = $listener;

View file

@ -60,10 +60,6 @@ class StreamableHttpTransport extends BaseTransport implements TransportInterfac
], $corsHeaders); ], $corsHeaders);
} }
public function initialize(): void
{
}
public function send(string $data, array $context): void public function send(string $data, array $context): void
{ {
$this->immediateResponse = $data; $this->immediateResponse = $data;