Skip to content

Commit

Permalink
Merge pull request #47958 from nextcloud/backport/47954/stable29
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Sep 14, 2024
2 parents 392c0f5 + f1817dc commit 250e0a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/private/Files/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,8 @@ public function searchByMime($mimetype) {
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]));
}

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/private/Files/Cache/Wrapper/CacheWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ public function getStatus($file) {
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]));
}

/**
Expand Down

0 comments on commit 250e0a9

Please sign in to comment.