diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-13 18:13:44 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-09-13 17:00:21 +0000 |
commit | aff9322287be40a0593d394ab534c35e7690efe5 (patch) | |
tree | c42d1966ea6033596f96e7ee890cfc048328fe1c /lib | |
parent | 264cd2dccec00c0ebaaff57f341ae37cb9eb8b58 (diff) | |
download | nextcloud-server-aff9322287be40a0593d394ab534c35e7690efe5.tar.gz nextcloud-server-aff9322287be40a0593d394ab534c35e7690efe5.zip |
fix(files): Adjust Cache::searchQuery() parameter name to match interfacebackport/47954/stable28
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Cache/Cache.php | 4 | ||||
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheWrapper.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index 0586bec9146..5fd5732cbe4 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -885,8 +885,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 59da272787e..643611ecc86 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -237,8 +237,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])); } /** |