From 4155b117c47a81e3965e47b18a587f077a4395f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=88=B9=E6=AD=8C?= Date: Sat, 6 Oct 2018 14:32:27 +0800 Subject: [PATCH 1/2] Update Client.php --- src/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 015e7ed..0110318 100644 --- a/src/Client.php +++ b/src/Client.php @@ -66,7 +66,7 @@ class Client implements HttpClient, HttpAsyncClient * * @param MessageFactory|null $messageFactory HTTP Message factory * @param StreamFactory|null $streamFactory HTTP Stream factory - * @param array $options cURL options (see http://php.net/curl_setopt) + * @param array $options cURL options {@link http://php.net/curl_setopt} * * @throws \Http\Discovery\Exception\NotFoundException If factory discovery failed * @@ -183,7 +183,7 @@ public function sendAsyncRequest(RequestInterface $request) * * @throws \Http\Client\Exception\RequestException On invalid request * @throws \InvalidArgumentException For invalid header names or values - * @throws \RuntimeException if can not read body + * @throws \RuntimeException If can not read body * * @return array */ From 6bb96c6a42da987b82b8fbabaaaf7b641814cb0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=88=B9=E6=AD=8C?= Date: Sat, 6 Oct 2018 14:35:10 +0800 Subject: [PATCH 2/2] Update Client.php --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 0110318..5e8c4a6 100644 --- a/src/Client.php +++ b/src/Client.php @@ -236,7 +236,7 @@ private function createCurlOptions(RequestInterface $request, ResponseBuilder $r * * @param string $requestVersion * - * @throws \UnexpectedValueException if unsupported version requested + * @throws \UnexpectedValueException If unsupported version requested * * @return int */