@@ -468,7 +468,7 @@ discard block |
||
| 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 |
||
| 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)) { |