@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | * |
350 | 350 | * @param string $id id string for the file-entity |
351 | 351 | * |
352 | - * @return StreamInterface Binary contents of the file. Since the stream can be made a string this works like a charm! |
|
352 | + * @return \GuzzleHttp\Promise\PromiseInterface Binary contents of the file. Since the stream can be made a string this works like a charm! |
|
353 | 353 | * |
354 | 354 | * @throws Exception |
355 | 355 | */ |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | * @param string $destinationPath |
373 | 373 | * @param string $id |
374 | 374 | * |
375 | - * @return array|mixed |
|
375 | + * @return \GuzzleHttp\Promise\PromiseInterface |
|
376 | 376 | * @throws Exception |
377 | 377 | */ |
378 | 378 | public function updateBinaryAsync(StreamInterface $resource, $name, $destinationPath, $id = '') |