@@ -205,6 +205,7 @@ public function __debugInfo()
205
205
* attempt to delete orphaned chunks.
206
206
*
207
207
* @param mixed $id File ID
208
+ * @return void
208
209
* @throws FileNotFoundException if no file could be selected
209
210
* @throws DriverRuntimeException for other driver errors (e.g. connection errors)
210
211
*/
@@ -223,6 +224,7 @@ public function delete($id)
223
224
*
224
225
* @param mixed $id File ID
225
226
* @param resource $destination Writable Stream
227
+ * @return void
226
228
* @throws FileNotFoundException if no file could be selected
227
229
* @throws InvalidArgumentException if $destination is not a stream
228
230
* @throws StreamException if the file could not be uploaded
@@ -262,6 +264,7 @@ public function downloadToStream($id, $destination)
262
264
* @param string $filename Filename
263
265
* @param resource $destination Writable Stream
264
266
* @param array $options Download options
267
+ * @return void
265
268
* @throws FileNotFoundException if no file could be selected
266
269
* @throws InvalidArgumentException if $destination is not a stream
267
270
* @throws StreamException if the file could not be uploaded
@@ -283,6 +286,7 @@ public function downloadToStreamByName(string $filename, $destination, array $op
283
286
* Drops the files and chunks collections associated with this GridFS
284
287
* bucket.
285
288
*
289
+ * @return void
286
290
* @throws DriverRuntimeException for other driver errors (e.g. connection errors)
287
291
*/
288
292
public function drop ()
@@ -560,6 +564,7 @@ public function openUploadStream(string $filename, array $options = [])
560
564
*
561
565
* @param mixed $id File ID
562
566
* @param string $newFilename New filename
567
+ * @return void
563
568
* @throws FileNotFoundException if no file could be selected
564
569
* @throws DriverRuntimeException for other driver errors (e.g. connection errors)
565
570
*/
0 commit comments