From 2edd40250649944775aad5d6b4cc8e164c1e9d72 Mon Sep 17 00:00:00 2001 From: Thomas Calvet Date: Wed, 26 Feb 2020 23:30:10 +0100 Subject: [PATCH] [5.0] Remove some unused variables --- Internal/HttplugWaitLoop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Internal/HttplugWaitLoop.php b/Internal/HttplugWaitLoop.php index 3f287fe..f17a4a7 100644 --- a/Internal/HttplugWaitLoop.php +++ b/Internal/HttplugWaitLoop.php @@ -72,7 +72,7 @@ public function wait(?ResponseInterface $pendingResponse, float $maxDuration = n goto check_duration; } - if ([$request, $promise] = $this->promisePool[$response] ?? null) { + if ([, $promise] = $this->promisePool[$response] ?? null) { unset($this->promisePool[$response]); $promise->resolve($this->createPsr7Response($response, true)); }