Skip to content

Commit d8189f1

Browse files
committed
Remove array shape, not supported by phpcs
1 parent 379e406 commit d8189f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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 $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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ class ListSearchIndexes implements Executable
4646
/**
4747
* Constructs an aggregate command for listing Atlas Search indexes
4848
*
49-
* @param string $databaseName Database name
50-
* @param string $collectionName Collection name
51-
* @param array{name?: string, ...} $options Command options
49+
* @param string $databaseName Database name
50+
* @param string $collectionName Collection name
51+
* @param array $options Command options
5252
*/
5353
public function __construct(string $databaseName, string $collectionName, array $options = [])
5454
{

0 commit comments

Comments
 (0)