Completed
Pull Request — master (#1870)
by Olivier
14:29
created
lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * @see http://php.net/iterator.current
42 42
      *
43
-     * @return mixed
43
+     * @return \Doctrine\ODM\MongoDB\object|null
44 44
      */
45 45
     public function current()
46 46
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Query/Builder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1010,7 +1010,7 @@  discard block
 block discarded – undo
1010 1010
      * @see http://docs.mongodb.org/manual/reference/operator/mod/
1011 1011
      *
1012 1012
      * @param float|int $divisor
1013
-     * @param float|int $remainder
1013
+     * @param integer $remainder
1014 1014
      */
1015 1015
     public function mod($divisor, $remainder = 0) : self
1016 1016
     {
@@ -1171,7 +1171,7 @@  discard block
 block discarded – undo
1171 1171
      * If a custom callable is used, its signature should conform to the default
1172 1172
      * Closure defined in {@link ReferencePrimer::__construct()}.
1173 1173
      *
1174
-     * @param bool|callable $primer
1174
+     * @param boolean $primer
1175 1175
      *
1176 1176
      * @throws InvalidArgumentException If $primer is not boolean or callable.
1177 1177
      */
@@ -1518,7 +1518,7 @@  discard block
 block discarded – undo
1518 1518
      * field name (key) and order (value) pairs.
1519 1519
      *
1520 1520
      * @param array|string $fieldName Field name or array of field/order pairs
1521
-     * @param int|string   $order     Field order (if one field is specified)
1521
+     * @param integer   $order     Field order (if one field is specified)
1522 1522
      */
1523 1523
     public function sort($fieldName, $order = 1) : self
1524 1524
     {
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
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
      *
23 23
      * @param mixed    $id          File ID
24 24
      * @param resource $destination Writable Stream
25
+     * @return void
25 26
      */
26 27
     public function downloadToStream($id, $destination) : void;
27 28
 
@@ -36,7 +37,6 @@  discard block
 block discarded – undo
36 37
      * Writes the contents of a readable stream to a GridFS file.
37 38
      *
38 39
      * @param resource    $source   Readable stream
39
-     * @param object|null $metadata
40 40
      *
41 41
      * @return object The newly created GridFS file
42 42
      */
@@ -45,9 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Writes the contents of a file to a GridFS file.
47 47
      *
48
-     * @param string      $path
49 48
      * @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.
50
-     * @param object|null $metadata
51 49
      *
52 50
      * @return object The newly created GridFS file
53 51
      */
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Query/Expr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@
 block discarded – undo
452 452
      * @see http://docs.mongodb.org/manual/reference/operator/mod/
453 453
      *
454 454
      * @param float|int $divisor
455
-     * @param float|int $remainder
455
+     * @param integer $remainder
456 456
      */
457 457
     public function mod($divisor, $remainder = 0) : self
458 458
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -479,6 +479,7 @@
 block discarded – undo
479 479
 
480 480
     /**
481 481
      * Finds documents by a set of criteria.
482
+     * @param integer $limit
482 483
      */
483 484
     public function loadAll(array $criteria = [], ?array $sort = null, ?int $limit = null, ?int $skip = null) : Iterator
484 485
     {
Please login to merge, or discard this patch.