Completed
Pull Request — master (#1714)
by
unknown
10:42
created
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -224,6 +224,9 @@  discard block
 block discarded – undo
224 224
         $class->addIndex($keys, $options);
225 225
     }
226 226
 
227
+    /**
228
+     * @param string $type
229
+     */
227 230
     private function addEmbedMapping(ClassMetadataInfo $class, $embed, $type)
228 231
     {
229 232
         $attributes = $embed->attributes();
@@ -261,6 +264,9 @@  discard block
 block discarded – undo
261 264
         $this->addFieldMapping($class, $mapping);
262 265
     }
263 266
 
267
+    /**
268
+     * @param string $type
269
+     */
264 270
     private function addReferenceMapping(ClassMetadataInfo $class, $reference, $type)
265 271
     {
266 272
         $cascade = array_keys((array) $reference->cascade);
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/SchemaManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -570,7 +570,7 @@
 block discarded – undo
570 570
     /**
571 571
      * @param string $documentName
572 572
      *
573
-     * @return array
573
+     * @return string
574 574
      */
575 575
     private function runShardCollectionCommand($documentName)
576 576
     {
Please login to merge, or discard this patch.
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.