@@ -95,7 +95,7 @@ |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | - * @return \Psr\Http\Message\ResponseInterface |
|
| 98 | + * @return resource |
|
| 99 | 99 | */ |
| 100 | 100 | public function init(){ |
| 101 | 101 | |
@@ -214,12 +214,12 @@ |
||
| 214 | 214 | $options[CURLOPT_HTTPHEADER] = $curlHeaders; |
| 215 | 215 | |
| 216 | 216 | // If the Expect header is not present, prevent curl from adding it |
| 217 | - if (!$this->request->hasHeader('Expect')) { |
|
| 217 | + if (!$this->request->hasHeader('Expect')){ |
|
| 218 | 218 | $options[CURLOPT_HTTPHEADER][] = 'Expect:'; |
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | // cURL sometimes adds a content-type by default. Prevent this. |
| 222 | - if (!$this->request->hasHeader('Content-Type')) { |
|
| 222 | + if (!$this->request->hasHeader('Content-Type')){ |
|
| 223 | 223 | $options[CURLOPT_HTTPHEADER][] = 'Content-Type:'; |
| 224 | 224 | } |
| 225 | 225 | |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @see http://php.net/manual/features.file-upload.post-method.php |
| 27 | 27 | * @see http://php.net/manual/features.file-upload.errors.php |
| 28 | 28 | * |
| 29 | - * @param StreamInterface $stream Underlying stream representing the |
|
| 29 | + * @param \Psr\Http\Message\StreamInterface $stream Underlying stream representing the |
|
| 30 | 30 | * uploaded file content. |
| 31 | 31 | * @param int $size in bytes |
| 32 | 32 | * @param int $error PHP file upload error |
@@ -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 | */ |