Fix psalm error

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/39062/head
Marcel Klehr 2023-06-30 12:32:14 +07:00
parent 2951ae277d
commit 29c0e078a1
1 changed files with 1 additions and 1 deletions

@ -113,7 +113,7 @@ class TagSearchProvider implements IProvider {
* @inheritDoc
*/
public function search(IUser $user, ISearchQuery $query): SearchResult {
$matchingTags = $this->tagManager->getAllTags(1, $query->getTerm());
$matchingTags = $this->tagManager->getAllTags(true, $query->getTerm());
if (count($matchingTags) === 0) {
return SearchResult::complete($this->l10n->t('Tags'), []);
}