summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-10-31 19:49:54 +0100
committerGitHub <noreply@github.com>2018-10-31 19:49:54 +0100
commited35bc7f4023d74a71422f6521086a21199b546f (patch)
tree37b85f223196a9fa9dc6cb42d1767b5ddc1d90b5
parent654365581b50590efda188fbd8a2c961c99a386c (diff)
parent0c8c6ad5c7f8c213da776c970a81be060a6b5def (diff)
downloadnextcloud-server-ed35bc7f4023d74a71422f6521086a21199b546f.tar.gz
nextcloud-server-ed35bc7f4023d74a71422f6521086a21199b546f.zip
Merge pull request #12169 from nextcloud/interface-fulltextsearc-issue-00001
wrong method called
-rw-r--r--lib/private/FullTextSearch/FullTextSearchManager.php2
-rw-r--r--lib/public/FullTextSearch/Service/IIndexService.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/FullTextSearch/FullTextSearchManager.php b/lib/private/FullTextSearch/FullTextSearchManager.php
index 6529ef2506a..9a9b077cf23 100644
--- a/lib/private/FullTextSearch/FullTextSearchManager.php
+++ b/lib/private/FullTextSearch/FullTextSearchManager.php
@@ -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);
}
diff --git a/lib/public/FullTextSearch/Service/IIndexService.php b/lib/public/FullTextSearch/Service/IIndexService.php
index 376c07a4490..c5d1b9b3bcf 100644
--- a/lib/public/FullTextSearch/Service/IIndexService.php
+++ b/lib/public/FullTextSearch/Service/IIndexService.php
@@ -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);
/**