diff --git a/src/Collection.php b/src/Collection.php index c596d3e96..6eacf2280 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -925,7 +925,7 @@ public function listIndexes(array $options = []) * 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 e685da5c2..5d59725ed 100644 --- a/src/Operation/ListSearchIndexes.php +++ b/src/Operation/ListSearchIndexes.php @@ -46,9 +46,9 @@ class ListSearchIndexes implements Executable /** * 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 = []) {