1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-04-21 23:22:03 +02:00

add missing ; in middleware documentation

This commit is contained in:
Ricky Robinett 2016-03-11 11:31:44 -05:00
parent ec6cbc1d54
commit b03683fee3

View File

@ -145,7 +145,7 @@ downstream handler. This example adds a header to the response.
RequestInterface $request,
array $options
) use ($handler, $header, $value) {
$promise = $handler($request, $options)
$promise = $handler($request, $options);
return $promise->then(
function (ResponseInterface $response) use ($header, $value) {
return $response->withHeader($header, $value);