Skip to content

Commit e29cbee

Browse files
committed
Remove deprecated target param
1 parent 69f1f12 commit e29cbee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Proxy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ public function to($target)
8989

9090
$stack = $this->filters;
9191

92-
$stack[] = function (RequestInterface $request, ResponseInterface $response, callable $next) use ($target)
92+
$stack[] = function (RequestInterface $request, ResponseInterface $response, callable $next)
9393
{
94-
$response = $this->adapter->send($request, $target);
94+
$response = $this->adapter->send($request);
9595

9696
return $next($request, $response);
9797
};

0 commit comments

Comments
 (0)