Skip to content

Commit c5b5c80

Browse files
committed
Fix PHPDoc.
1 parent 23e65b9 commit c5b5c80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Client.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ public function __destruct()
8787
*
8888
* @return ResponseInterface
8989
*
90-
* @throws \UnexpectedValueException if unsupported HTTP version requested
9190
* @throws RequestException
91+
* @throws \UnexpectedValueException if unsupported HTTP version requested
92+
* @throws \RuntimeException if can not read body
9293
*
9394
* @since 1.0
9495
*/
@@ -129,6 +130,7 @@ public function sendRequest(RequestInterface $request)
129130
*
130131
* @throws Exception
131132
* @throws \UnexpectedValueException if unsupported HTTP version requested
133+
* @throws \RuntimeException if can not read body
132134
*
133135
* @since 1.0
134136
*/
@@ -268,7 +270,7 @@ private function createHeaders(RequestInterface $request, array $options)
268270
* curl-client does not support "Expect-Continue", but cURL adds "Expect" header by default.
269271
* We can not suppress it, but we can set it to empty.
270272
*/
271-
$curlHeaders []= 'Expect:';
273+
$curlHeaders[] = 'Expect:';
272274

273275
return $curlHeaders;
274276
}

0 commit comments

Comments
 (0)