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
@@ -23,10 +23,10 @@ class ResponseEmitter implements Emitter
/**
* @param mixed $response
* @param \Protocol\Message\Response|ResponseInterface $emitter
* @param \Http\Message\Response|ResponseInterface $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
{
if (is_array($emitter->getHeaders())) {
foreach ($emitter->getHeaders() as $name => $values) {