Completed
Pull Request — master (#20)
by
unknown
02:53
created
lib/Mongo/MongoCollection.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
      * @link http://www.php.net/manual/en/mongocollection.createindex.php
469 469
      * @param array $keys Field or fields to use as index.
470 470
      * @param array $options [optional] This parameter is an associative array of the form array("optionname" => <boolean>, ...).
471
-     * @return array Returns the database response.
471
+     * @return string|false Returns the database response.
472 472
      *
473 473
      * @todo This method does not yet return the correct result
474 474
      */
@@ -747,6 +747,9 @@  discard block
 block discarded – undo
747 747
         return $options;
748 748
     }
749 749
 
750
+    /**
751
+     * @param string $name
752
+     */
750 753
     private function checkCollectionName($name)
751 754
     {
752 755
         if (empty($name)) {
Please login to merge, or discard this patch.