Skip to content

Commit

Permalink
[5.0] Remove some unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Feb 26, 2020
1 parent 941aa6a commit 2edd402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Internal/HttplugWaitLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 2edd402

Please sign in to comment.