@@ -13,6 +13,7 @@ discard block |
||
| 13 | 13 | * |
| 14 | 14 | * @param mixed $id File ID |
| 15 | 15 | * @param resource $destination Writable Stream |
| 16 | + * @return void |
|
| 16 | 17 | */ |
| 17 | 18 | public function downloadToStream($id, $destination): void; |
| 18 | 19 | |
@@ -36,7 +37,6 @@ discard block |
||
| 36 | 37 | /** |
| 37 | 38 | * Writes the contents of a file to a GridFS file. |
| 38 | 39 | * |
| 39 | - * @param string $path |
|
| 40 | 40 | * @param string|null $filename The filename to upload the file with. If no filename is provided, the name of the source file will be used. |
| 41 | 41 | * @param object|null $metadata |
| 42 | 42 | * @return object The newly created GridFS file |