Skip to content

Commit 01e307e

Browse files
Merge v1.x into v2.x (#1481)
2 parents e63d47f + 985484d commit 01e307e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ public function listIndexes(array $options = []): Iterator
882882
* Returns information for all Atlas Search indexes for the collection.
883883
* Only available when used against a 7.0+ Atlas cluster.
884884
*
885-
* @param array{name?: string} $options Command options
885+
* @param array $options Command options
886886
* @return Countable&Iterator
887887
* @throws InvalidArgumentException for parameter/option parsing errors
888888
* @throws DriverRuntimeException for other driver errors (e.g. connection errors)

src/Operation/ListSearchIndexes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ final class ListSearchIndexes
4444
/**
4545
* Constructs an aggregate command for listing Atlas Search indexes
4646
*
47-
* @param string $databaseName Database name
48-
* @param string $collectionName Collection name
49-
* @param array{name?: string} $options Command options
47+
* @param string $databaseName Database name
48+
* @param string $collectionName Collection name
49+
* @param array $options Command options
5050
*/
5151
public function __construct(private string $databaseName, private string $collectionName, array $options = [])
5252
{

0 commit comments

Comments
 (0)