Skip to content

Commit e359d11

Browse files
committed
PHPLIB-1548 Inherit typeMap option in Collection::listSearchIndexes()
1 parent 985484d commit e359d11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Collection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,8 @@ public function listIndexes(array $options = [])
933933
*/
934934
public function listSearchIndexes(array $options = []): Iterator
935935
{
936+
$options = $this->inheritTypeMap($options);
937+
936938
$operation = new ListSearchIndexes($this->databaseName, $this->collectionName, $options);
937939
$server = select_server($this->manager, $options);
938940

0 commit comments

Comments
 (0)