diff --git a/src/Collection.php b/src/Collection.php index 23072b9d3..78d102918 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -882,7 +882,7 @@ public function listIndexes(array $options = []): Iterator * Returns information for all Atlas Search indexes for the collection. * Only available when used against a 7.0+ Atlas cluster. * - * @param array{name?: string} $options Command options + * @param array $options Command options * @return Countable&Iterator * @throws InvalidArgumentException for parameter/option parsing errors * @throws DriverRuntimeException for other driver errors (e.g. connection errors) diff --git a/src/Operation/ListSearchIndexes.php b/src/Operation/ListSearchIndexes.php index bd6810e98..ae0eb6d6f 100644 --- a/src/Operation/ListSearchIndexes.php +++ b/src/Operation/ListSearchIndexes.php @@ -44,9 +44,9 @@ final class ListSearchIndexes /** * Constructs an aggregate command for listing Atlas Search indexes * - * @param string $databaseName Database name - * @param string $collectionName Collection name - * @param array{name?: string} $options Command options + * @param string $databaseName Database name + * @param string $collectionName Collection name + * @param array $options Command options */ public function __construct(private string $databaseName, private string $collectionName, array $options = []) {