Skip to content

Commit

Permalink
Merge v1.x into v2.x (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
mongodb-php-bot authored Oct 14, 2024
2 parents e63d47f + 985484d commit 01e307e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions src/Operation/ListSearchIndexes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
{
Expand Down

0 comments on commit 01e307e

Please sign in to comment.