summaryrefslogtreecommitdiffstats
path: root/lib/private/Metadata/MetadataManager.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-30 15:58:42 +0200
committerLouis Chemineau <louis@chmn.me>2023-04-03 14:06:28 +0200
commit1a6709cf434a6eeb7356254938b15c98d375a955 (patch)
tree998ecf3346c97092135193804d852d1247a25626 /lib/private/Metadata/MetadataManager.php
parent691aa8d0257e9361bbc5a64b09cd634435dbd40a (diff)
downloadnextcloud-server-1a6709cf434a6eeb7356254938b15c98d375a955.tar.gz
nextcloud-server-1a6709cf434a6eeb7356254938b15c98d375a955.zip
Migrate metadata as JSON to value as STRING
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib/private/Metadata/MetadataManager.php')
-rw-r--r--lib/private/Metadata/MetadataManager.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Metadata/MetadataManager.php b/lib/private/Metadata/MetadataManager.php
index 77407a2f529..6d96ff1ab68 100644
--- a/lib/private/Metadata/MetadataManager.php
+++ b/lib/private/Metadata/MetadataManager.php
@@ -78,6 +78,9 @@ class MetadataManager implements IMetadataManager {
$this->fileMetadataMapper->clear($fileId);
}
+ /**
+ * @return array<int, FileMetadata>
+ */
public function fetchMetadataFor(string $group, array $fileIds): array {
return $this->fileMetadataMapper->findForGroupForFiles($fileIds, $group);
}