summaryrefslogtreecommitdiff
path: root/src/HttpClient.php
diff options
context:
space:
mode:
authorValentin V / vvval <[email protected]>2020-05-05 16:43:29 +0300
committerValentin V / vvval <[email protected]>2020-05-05 16:43:29 +0300
commit12e2dcacacbd6e60a1a18774b65eb3462795e1c7 (patch)
treebef6ee7cffdce30e2ce9782582717966cdca281c /src/HttpClient.php
parent7bc65d6ceb201da48537d85b8ac574ab8c326a1f (diff)
#318 fix code style
Diffstat (limited to 'src/HttpClient.php')
-rw-r--r--src/HttpClient.php2
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)) {