Skip to content

Commit 1770a2f

Browse files
committed
fix: add missing iterable value types
1 parent 6cb30ed commit 1770a2f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Client.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public function sendRequest(RequestInterface $request): ResponseInterface
3434
->toPsrResponse();
3535
}
3636

37+
/**
38+
* @param array<string, mixed> $options
39+
*/
3740
public function send(RequestInterface $request, array $options = []): ResponseInterface
3841
{
3942
return $this->newPendingRequest()
@@ -42,6 +45,9 @@ public function send(RequestInterface $request, array $options = []): ResponseIn
4245
->toPsrResponse();
4346
}
4447

48+
/**
49+
* @param array<string, mixed> $options
50+
*/
4551
public function sendAsync(RequestInterface $request, array $options = []): PromiseInterface
4652
{
4753
/** @var \GuzzleHttp\Promise\PromiseInterface */
@@ -51,13 +57,19 @@ public function sendAsync(RequestInterface $request, array $options = []): Promi
5157
->send($request->getMethod(), (string) $request->getUri(), array_merge(['body' => $request->getBody()], $options));
5258
}
5359

60+
/**
61+
* @param array<string, mixed> $options
62+
*/
5463
public function request(string $method, $uri, array $options = []): ResponseInterface
5564
{
5665
return $this->newPendingRequest()
5766
->send($method, (string) $uri, $options)
5867
->toPsrResponse();
5968
}
6069

70+
/**
71+
* @param array<string, mixed> $options
72+
*/
6173
public function requestAsync(string $method, $uri, array $options = []): PromiseInterface
6274
{
6375
/** @var \GuzzleHttp\Promise\PromiseInterface */

0 commit comments

Comments
 (0)