diff --git a/src/Collection.php b/src/Collection.php index 81a0c7969..3ee3e7150 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -896,7 +896,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 8cf7f1e56..6607198d2 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(string $databaseName, string $collectionName, array $options = []) {