From 914e8f9ce231c2d6604468beee75a816b3c24d56 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 9 Sep 2024 16:59:59 +0200 Subject: fix: misc code fixes around db sharding Signed-off-by: Robin Appelman --- lib/private/Files/Cache/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Files/Cache/Cache.php') diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index 876f17ff740..8ab07981694 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -1207,7 +1207,7 @@ class Cache implements ICache { } } - private function moveFromStorageSharded(ShardDefinition $shardDefinition, ICache $sourceCache, ICacheEntry $sourceEntry, $targetPath) { + private function moveFromStorageSharded(ShardDefinition $shardDefinition, ICache $sourceCache, ICacheEntry $sourceEntry, $targetPath): void { if ($sourceEntry->getMimeType() === ICacheEntry::DIRECTORY_MIMETYPE) { $fileIds = $this->getChildIds($sourceCache->getNumericStorageId(), $sourceEntry->getPath()); } else { -- cgit v1.2.3