Skip to content

Commit fe26083

Browse files
committed
Clarify that createIndex() argument mixes index and command options
1 parent aaec5d5 commit fe26083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public function count($filter = [], array $options = [])
277277
* @see CreateIndexes::__construct() for supported command options
278278
* @param array|object $key Document containing fields mapped to values,
279279
* which denote order or an index type
280-
* @param array $options Index options
280+
* @param array $options Index and command options
281281
* @return string The name of the created index
282282
* @throws UnsupportedException if options are not supported by the selected server
283283
* @throws InvalidArgumentException for parameter/option parsing errors

0 commit comments

Comments
 (0)