Skip to content

Commit 53d020b

Browse files
committed
Fixed signature HttpWorkerInterface
1 parent a734671 commit 53d020b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpWorkerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ public function waitRequest(): ?Request;
3030
* message's headers. Each key MUST be a header name, and each value MUST be an array of strings for
3131
* that header.
3232
*/
33-
public function respond(int $status, string|Generator $body, array $headers = []): void;
33+
public function respond(int $status, string|Generator $body, array $headers = [], bool $endOfStream = true): void;
3434
}

0 commit comments

Comments
 (0)