File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,9 @@ public function __destruct()
87
87
*
88
88
* @return ResponseInterface
89
89
*
90
- * @throws \UnexpectedValueException if unsupported HTTP version requested
91
90
* @throws RequestException
91
+ * @throws \UnexpectedValueException if unsupported HTTP version requested
92
+ * @throws \RuntimeException if can not read body
92
93
*
93
94
* @since 1.0
94
95
*/
@@ -129,6 +130,7 @@ public function sendRequest(RequestInterface $request)
129
130
*
130
131
* @throws Exception
131
132
* @throws \UnexpectedValueException if unsupported HTTP version requested
133
+ * @throws \RuntimeException if can not read body
132
134
*
133
135
* @since 1.0
134
136
*/
@@ -268,7 +270,7 @@ private function createHeaders(RequestInterface $request, array $options)
268
270
* curl-client does not support "Expect-Continue", but cURL adds "Expect" header by default.
269
271
* We can not suppress it, but we can set it to empty.
270
272
*/
271
- $ curlHeaders [] = 'Expect: ' ;
273
+ $ curlHeaders[] = 'Expect: ' ;
272
274
273
275
return $ curlHeaders ;
274
276
}
You can’t perform that action at this time.
0 commit comments