This commit is contained in:
2021-09-16 14:53:36 +08:00
parent 8c5b6f674c
commit 41a6158fd0
20 changed files with 48 additions and 32 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ class WebSocketEmitter implements Emitter
/**
* @param mixed $response
* @param ResponseInterface|\Protocol\Message\Response $emitter
* @param ResponseInterface|\Http\Message\Response $emitter
* @throws Exception
*/
public function sender(mixed $response, ResponseInterface|\Protocol\Message\Response $emitter): void
public function sender(mixed $response, ResponseInterface|\Http\Message\Response $emitter): void
{
$server = Kiri::getDi()->get(ServerManager::class)->getServer();