Completed
Pull Request — master (#1714)
by Gabriel
09:27
created
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Match.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -482,7 +482,7 @@
 block discarded – undo
482 482
      * @see Expr::mod()
483 483
      * @see http://docs.mongodb.org/manual/reference/operator/mod/
484 484
      * @param float|integer $divisor
485
-     * @param float|integer $remainder
485
+     * @param integer $remainder
486 486
      * @return $this
487 487
      */
488 488
     public function mod($divisor, $remainder = 0)
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -532,7 +532,7 @@
 block discarded – undo
532 532
     }
533 533
 
534 534
     /**
535
-     * @param Cursor $cursor
535
+     * @param \Traversable $cursor
536 536
      *
537 537
      * @return Iterator
538 538
      */
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/SchemaManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
      * the unique index. Additionally, the background option is only
385 385
      * relevant to index creation and is not considered.
386 386
      *
387
-     * @param array|IndexInfo $mongoIndex Mongo index data.
387
+     * @param IndexInfo $mongoIndex Mongo index data.
388 388
      * @param array $documentIndex Document index data.
389 389
      * @return bool True if the indexes are equivalent, otherwise false.
390 390
      */
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
     /**
529 529
      * @param string $documentName
530 530
      *
531
-     * @return array
531
+     * @return string
532 532
      */
533 533
     private function runShardCollectionCommand($documentName)
534 534
     {
Please login to merge, or discard this patch.