Skip to content

Commit 379e406

Browse files
committed
Fix array shape for Collection::listSearchIndex $options
1 parent 96ab516 commit 379e406

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Collection.php

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

src/Operation/ListSearchIndexes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ListSearchIndexes implements Executable
4848
*
4949
* @param string $databaseName Database name
5050
* @param string $collectionName Collection name
51-
* @param array{name?: string} $options Command options
51+
* @param array{name?: string, ...} $options Command options
5252
*/
5353
public function __construct(string $databaseName, string $collectionName, array $options = [])
5454
{

0 commit comments

Comments
 (0)