Merge pull request #12169 from nextcloud/interface-fulltextsearc-issue-00001

wrong method called
This commit is contained in:
Roeland Jago Douma 2018-10-31 19:49:54 +01:00 committed by GitHub
commit ed35bc7f40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -195,7 +195,7 @@ class FullTextSearchManager implements IFullTextSearchManager {
* @throws FullTextSearchAppNotAvailableException
*/
public function updateIndexesStatus(string $providerId, array $documentIds, int $status, bool $reset = false) {
$this->getIndexService()->updateIndexStatus($providerId, $documentIds, $status, $reset);
$this->getIndexService()->updateIndexesStatus($providerId, $documentIds, $status, $reset);
}

View file

@ -65,11 +65,11 @@ interface IIndexService {
* @since 15.0.0
*
* @param string $providerId
* @param $documentId
* @param string $documentId
* @param int $status
* @param bool $reset
*/
public function updateIndexStatus(string $providerId, $documentId, int $status, bool $reset = false);
public function updateIndexStatus(string $providerId, string $documentId, int $status, bool $reset = false);
/**