Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/DocumentStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ public function addCollectionIndex(string $collectionName, Index $index): void;

/**
* @param string $collectionName
* @param string $indexName
* @param string|Index $index
* @throws RuntimeException if dropping did not succeed
*/
public function dropCollectionIndex(string $collectionName, string $indexName): void;
public function dropCollectionIndex(string $collectionName, $index): void;

/**
* @param string $collectionName
Expand Down
4 changes: 2 additions & 2 deletions src/InMemoryDocumentStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ public function addCollectionIndex(string $collectionName, Index $index): void

/**
* @param string $collectionName
* @param string $indexName
* @param string|Index $index
* @throws RuntimeException if dropping did not succeed
*/
public function dropCollectionIndex(string $collectionName, string $indexName): void
public function dropCollectionIndex(string $collectionName, $index): void
{
//InMemoryDocumentStore ignores indices
}
Expand Down