aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-13 18:13:44 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-13 17:02:33 +0000
commit886561761a5be6ffa842dd173ac6e6ad36a27eb8 (patch)
treeabdf59970ed5a453615c8c60b23686d405e3cb1f
parent91533fb6f7ac0d61f8016aafe5e06bed75fb7498 (diff)
downloadnextcloud-server-backport/47954/stable30.tar.gz
nextcloud-server-backport/47954/stable30.zip
fix(files): Adjust Cache::searchQuery() parameter name to match interfacebackport/47954/stable30
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--lib/private/Files/Cache/Cache.php4
-rw-r--r--lib/private/Files/Cache/Wrapper/CacheWrapper.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index d866c8e6bcb..876f17ff740 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/lib/private/Files/Cache/Cache.php
@@ -873,8 +873,8 @@ class Cache implements ICache {
return $this->searchQuery(new SearchQuery($operator, 0, 0, [], null));
}
- public function searchQuery(ISearchQuery $searchQuery) {
- return current($this->querySearchHelper->searchInCaches($searchQuery, [$this]));
+ public function searchQuery(ISearchQuery $query) {
+ return current($this->querySearchHelper->searchInCaches($query, [$this]));
}
/**
diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php
index 17f1031d1cc..fdaa2cf4b7a 100644
--- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php
+++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php
@@ -214,8 +214,8 @@ class CacheWrapper extends Cache {
return $this->getCache()->getStatus($file);
}
- public function searchQuery(ISearchQuery $searchQuery) {
- return current($this->querySearchHelper->searchInCaches($searchQuery, [$this]));
+ public function searchQuery(ISearchQuery $query) {
+ return current($this->querySearchHelper->searchInCaches($query, [$this]));
}
/**