Completed
Pull Request — master (#1860)
by Andreas
14:44
created
lib/Doctrine/ODM/MongoDB/Query/Expr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -753,7 +753,7 @@
 block discarded – undo
753 753
      * @see Builder::mod()
754 754
      * @see http://docs.mongodb.org/manual/reference/operator/mod/
755 755
      * @param float|int $divisor
756
-     * @param float|int $remainder
756
+     * @param integer $remainder
757 757
      */
758 758
     public function mod($divisor, $remainder = 0) : self
759 759
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Repository/DocumentRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,6 @@
 block discarded – undo
151 151
      * Finds documents by a set of criteria.
152 152
      *
153 153
      * @param int|null $limit
154
-     * @param int|null $offset
155 154
      */
156 155
     public function findBy(array $criteria, ?array $sort = null, $limit = null, $skip = null) : array
157 156
     {
Please login to merge, or discard this patch.
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.
lib/Doctrine/ODM/MongoDB/SchemaManager.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Ensure indexes are created for all documents that can be loaded with the
38 38
      * metadata factory.
39
+     * @param integer $timeout
39 40
      */
40 41
     public function ensureIndexes(?int $timeout = null) : void
41 42
     {
@@ -53,6 +54,7 @@  discard block
 block discarded – undo
53 54
      *
54 55
      * Indexes that exist in MongoDB but not the document metadata will be
55 56
      * deleted.
57
+     * @param integer $timeout
56 58
      */
57 59
     public function updateIndexes(?int $timeout = null) : void
58 60
     {
@@ -397,7 +399,7 @@  discard block
 block discarded – undo
397 399
      * the unique index. Additionally, the background option is only
398 400
      * relevant to index creation and is not considered.
399 401
      *
400
-     * @param array|IndexInfo $mongoIndex Mongo index data.
402
+     * @param IndexInfo $mongoIndex Mongo index data.
401 403
      */
402 404
     public function isMongoIndexEquivalentToDocumentIndex($mongoIndex, array $documentIndex) : bool
403 405
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/UnitOfWork.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -2133,6 +2133,7 @@
 block discarded – undo
2133 2133
 
2134 2134
     /**
2135 2135
      * Clears the UnitOfWork.
2136
+     * @param string $documentName
2136 2137
      */
2137 2138
     public function clear(?string $documentName = null) : void
2138 2139
     {
Please login to merge, or discard this patch.