Completed
Push — master ( f0fe3a...13ea99 )
by Andreas
12s
created
lib/Doctrine/ODM/MongoDB/Repository/GridFSRepository.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.