diff options
Diffstat (limited to 'src/HttpClient.php')
-rw-r--r-- | src/HttpClient.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpClient.php b/src/HttpClient.php index 42c434a8..4ca152c8 100644 --- a/src/HttpClient.php +++ b/src/HttpClient.php @@ -34,7 +34,7 @@ final class HttpClient * @return mixed[]|null Request information as ['ctx'=>[], 'body'=>string] * or null if termination request or invalid context. */ - public function acceptRequest() + public function acceptRequest(): ?array { $body = $this->getWorker()->receive($ctx); if (empty($body) && empty($ctx)) { |