File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments