Skip to content

Commit 18b3b5d

Browse files
author
codeliner
committed
Fix InnerDocumentStore trait
1 parent 043c9b2 commit 18b3b5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/InnerDocumentStore.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ public function addCollectionIndex(string $collectionName, Index $index): void
8585

8686
/**
8787
* @param string $collectionName
88-
* @param string $indexName
88+
* @param string|Index $index
8989
* @throws \Throwable if dropping did not succeed
9090
*/
91-
public function dropCollectionIndex(string $collectionName, string $indexName): void
91+
public function dropCollectionIndex(string $collectionName, $index): void
9292
{
93-
$this->documentStore->dropCollectionIndex($collectionName, $indexName);
93+
$this->documentStore->dropCollectionIndex($collectionName, $index);
9494
}
9595

9696
/**

0 commit comments

Comments
 (0)