@@ -203,7 +203,7 @@ |
||
| 203 | 203 | * |
| 204 | 204 | * @author Michael Dowling and contributors to guzzlehttp/psr7 |
| 205 | 205 | * |
| 206 | - * @param StreamInterface $dest Stream to write to |
|
| 206 | + * @param \Psr\Http\Message\StreamInterface $dest Stream to write to |
|
| 207 | 207 | * |
| 208 | 208 | * @throws \RuntimeException on error |
| 209 | 209 | */ |
@@ -124,12 +124,12 @@ |
||
| 124 | 124 | |
| 125 | 125 | // @codeCoverageIgnoreStart |
| 126 | 126 | $msg = 'No system CA bundle could be found in any of the the common system locations. ' |
| 127 | - .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via ' |
|
| 128 | - .'HTTPOptions::$ca_info or HTTPOptions::$curl_options. If you do not need a specific certificate bundle, ' |
|
| 129 | - .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. ' |
|
| 130 | - .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point ' |
|
| 131 | - .'to the path of the file, allowing you to omit the $ca_info or $curl_options setting. ' |
|
| 132 | - .'See http://curl.haxx.se/docs/sslcerts.html for more information.'; |
|
| 127 | + .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via ' |
|
| 128 | + .'HTTPOptions::$ca_info or HTTPOptions::$curl_options. If you do not need a specific certificate bundle, ' |
|
| 129 | + .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. ' |
|
| 130 | + .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point ' |
|
| 131 | + .'to the path of the file, allowing you to omit the $ca_info or $curl_options setting. ' |
|
| 132 | + .'See http://curl.haxx.se/docs/sslcerts.html for more information.'; |
|
| 133 | 133 | |
| 134 | 134 | throw new ClientException($msg); |
| 135 | 135 | // @codeCoverageIgnoreEnd |
@@ -68,6 +68,9 @@ |
||
| 68 | 68 | 50 => 'application verification failure', |
| 69 | 69 | ]; |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @return void |
|
| 73 | + */ |
|
| 71 | 74 | public function __construct(RequestInterface $request, ResponseInterface $response, SettingsContainerInterface $options); |
| 72 | 75 | |
| 73 | 76 | public function init():CurlHandleInterface; |