Skip to content

Commit a5dd7f6

Browse files
committed
PHPDoc.
1 parent e564aee commit a5dd7f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Client.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public function __destruct()
9999
*
100100
* @return ResponseInterface
101101
*
102+
* @throws \InvalidArgumentException For invalid header names or values.
102103
* @throws \RuntimeException If creating the body stream fails.
103104
* @throws \UnexpectedValueException if unsupported HTTP version requested
104105
* @throws RequestException
@@ -136,6 +137,7 @@ public function sendRequest(RequestInterface $request)
136137
*
137138
* @return Promise
138139
*
140+
* @throws \InvalidArgumentException For invalid header names or values.
139141
* @throws \RuntimeException If creating the body stream fails.
140142
* @throws \UnexpectedValueException If unsupported HTTP version requested
141143
* @throws Exception
@@ -166,8 +168,9 @@ public function sendAsyncRequest(RequestInterface $request)
166168
* @param RequestInterface $request
167169
* @param ResponseBuilder $responseBuilder
168170
*
169-
* @throws \UnexpectedValueException if unsupported HTTP version requested
171+
* @throws \InvalidArgumentException For invalid header names or values.
170172
* @throws \RuntimeException if can not read body
173+
* @throws \UnexpectedValueException if unsupported HTTP version requested
171174
*
172175
* @return array
173176
*/

0 commit comments

Comments
 (0)