@@ -21,6 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @param mixed $id File ID |
| 23 | 23 | * @param resource $destination Writable Stream |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function downloadToStream($id, $destination): void; |
| 26 | 27 | |
@@ -35,7 +36,6 @@ discard block |
||
| 35 | 36 | * Writes the contents of a readable stream to a GridFS file. |
| 36 | 37 | * |
| 37 | 38 | * @param resource $source Readable stream |
| 38 | - * @param object|null $metadata |
|
| 39 | 39 | * @return object The newly created GridFS file |
| 40 | 40 | */ |
| 41 | 41 | public function uploadFromStream(string $filename, $source, ?UploadOptions $uploadOptions = null); |
@@ -43,9 +43,7 @@ discard block |
||
| 43 | 43 | /** |
| 44 | 44 | * Writes the contents of a file to a GridFS file. |
| 45 | 45 | * |
| 46 | - * @param string $path |
|
| 47 | 46 | * @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. |
| 48 | - * @param object|null $metadata |
|
| 49 | 47 | * @return object The newly created GridFS file |
| 50 | 48 | */ |
| 51 | 49 | public function uploadFromFile(string $source, ?string $filename = null, ?UploadOptions $uploadOptions = null); |