From e95745c074c6d04cd271706a836eccbcc674cca8 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 17 Nov 2021 16:44:11 +0100 Subject: fix tests Signed-off-by: Robin Appelman --- apps/workflowengine/lib/Check/FileSystemTags.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/workflowengine/lib') diff --git a/apps/workflowengine/lib/Check/FileSystemTags.php b/apps/workflowengine/lib/Check/FileSystemTags.php index a879a8e1703..c5f32bbb4e7 100644 --- a/apps/workflowengine/lib/Check/FileSystemTags.php +++ b/apps/workflowengine/lib/Check/FileSystemTags.php @@ -135,8 +135,8 @@ class FileSystemTags implements ICheck, IFileCheck { // TODO: Fix caching inside group folders // Do not cache file ids inside group folders because multiple file ids might be mapped to // the same combination of cache id + path. - $shouldCacheFileIds = !$this->storage - ->instanceOfStorage(\OCA\GroupFolders\Mount\GroupFolderStorage::class); + /** @psalm-suppress InvalidArgument */ + $shouldCacheFileIds = !$this->storage->instanceOfStorage(\OCA\GroupFolders\Mount\GroupFolderStorage::class); $cacheId = $cache->getNumericStorageId(); if ($shouldCacheFileIds && isset($this->fileIds[$cacheId][$path])) { return $this->fileIds[$cacheId][$path]; -- cgit v1.2.3