Completed
Pull Request — master (#1714)
by
unknown
11:33
created
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Match.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -303,7 +303,6 @@  discard block
 block discarded – undo
303 303
      *
304 304
      * @see Expr::geoWithinPolygon()
305 305
      * @see http://docs.mongodb.org/manual/reference/operator/polygon/
306
-     * @param array $point,... Three or more point coordinate tuples
307 306
      * @return $this
308 307
      */
309 308
     public function geoWithinPolygon(/* array($x1, $y1), ... */)
@@ -476,7 +475,7 @@  discard block
 block discarded – undo
476 475
      * @see Expr::mod()
477 476
      * @see http://docs.mongodb.org/manual/reference/operator/mod/
478 477
      * @param float|integer $divisor
479
-     * @param float|integer $remainder
478
+     * @param integer $remainder
480 479
      * @return $this
481 480
      */
482 481
     public function mod($divisor, $remainder = 0)
Please login to merge, or discard this patch.
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.