From 91a90b0ad383ae52f290fc07d8ad50d2f49fb376 Mon Sep 17 00:00:00 2001 From: techno-express Date: Thu, 6 Feb 2020 15:50:08 -0500 Subject: [PATCH] update required, and changes made by the base coroutine class --- Request/Hyper.php | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Request/Hyper.php b/Request/Hyper.php index aebda18..a159293 100644 --- a/Request/Hyper.php +++ b/Request/Hyper.php @@ -547,7 +547,7 @@ public function sendRequest(RequestInterface $request) // Can't use `ResponseInt $timer = \microtime(true) - $start; if (empty($this->httpId)) { - $this->httpId = yield Kernel::taskId(); + $this->httpId = yield Kernel::getTask(); } if (!\is_resource($resource)) { diff --git a/composer.json b/composer.json index 875d79f..20f0c0f 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "php": ">7.1", "ext-json": "*", "symplely/http": "^1.1.0", - "symplely/logger": "^1.0.7", - "symplely/coroutine": "^1.4.0" + "symplely/logger": "^1.0.9", + "symplely/coroutine": "^1.4.3" }, "autoload": { "files": [