aboutsummaryrefslogtreecommitdiffstats
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-06-21 20:28:01 +0200
commita0f9556f7c68422a5637b4d5f5a1694f7e78e591 (patch)
tree5ba5fed17a230df4f67887392fd2b8d184ac5dff /lib/private
parent49db546f784e5e1d715a29d737508604b19f69eb (diff)
downloadnextcloud-server-a0f9556f7c68422a5637b4d5f5a1694f7e78e591.tar.gz
nextcloud-server-a0f9556f7c68422a5637b4d5f5a1694f7e78e591.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 618257e1e57..224f7c2b573 100644
--- a/lib/private/Files/Node/Folder.php
+++ b/lib/private/Files/Node/Folder.php
@@ -304,8 +304,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);
}