summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-06-21 18:01:49 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-06 21:52:52 +0200
commitb55be6fd8fcc5950b16671373a0d0325d9d1dd35 (patch)
treed917bf474b536906d3168fd7a736d9d6631424e7 /lib/private
parent66a7064db3e0318fe122c0b51c89ffb5b586ecd7 (diff)
downloadnextcloud-server-b55be6fd8fcc5950b16671373a0d0325d9d1dd35.tar.gz
nextcloud-server-b55be6fd8fcc5950b16671373a0d0325d9d1dd35.zip
fix: cominbation of small fixes
- possible null return - parameter name mismatch in implementation - incomplete unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/Node/Folder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Node/Folder.php b/lib/private/Files/Node/Folder.php
index 602d71895a9..45a61c47e42 100644
--- a/lib/private/Files/Node/Folder.php
+++ b/lib/private/Files/Node/Folder.php
@@ -300,8 +300,8 @@ class Folder extends Node implements \OCP\Files\Folder {
return $this->search($query);
}
- public function searchBySystemTag(string $tag, string $userId, int $limit = 0, int $offset = 0): array {
- $query = $this->queryFromOperator(new SearchComparison(ISearchComparison::COMPARE_EQUAL, 'systemtag', $tag), $userId, $limit, $offset);
+ public function searchBySystemTag(string $tagName, string $userId, int $limit = 0, int $offset = 0): array {
+ $query = $this->queryFromOperator(new SearchComparison(ISearchComparison::COMPARE_EQUAL, 'systemtag', $tagName), $userId, $limit, $offset);
return $this->search($query);
}