File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ public function __destruct()
99
99
*
100
100
* @return ResponseInterface
101
101
*
102
+ * @throws \InvalidArgumentException For invalid header names or values.
102
103
* @throws \RuntimeException If creating the body stream fails.
103
104
* @throws \UnexpectedValueException if unsupported HTTP version requested
104
105
* @throws RequestException
@@ -136,6 +137,7 @@ public function sendRequest(RequestInterface $request)
136
137
*
137
138
* @return Promise
138
139
*
140
+ * @throws \InvalidArgumentException For invalid header names or values.
139
141
* @throws \RuntimeException If creating the body stream fails.
140
142
* @throws \UnexpectedValueException If unsupported HTTP version requested
141
143
* @throws Exception
@@ -166,8 +168,9 @@ public function sendAsyncRequest(RequestInterface $request)
166
168
* @param RequestInterface $request
167
169
* @param ResponseBuilder $responseBuilder
168
170
*
169
- * @throws \UnexpectedValueException if unsupported HTTP version requested
171
+ * @throws \InvalidArgumentException For invalid header names or values.
170
172
* @throws \RuntimeException if can not read body
173
+ * @throws \UnexpectedValueException if unsupported HTTP version requested
171
174
*
172
175
* @return array
173
176
*/
You can’t perform that action at this time.
0 commit comments