fix(cache): filter out invalid entries in OC\Files\Cache\Wrapper\CacheWrapper::getFolderContentsById

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

[skip ci]
This commit is contained in:
Ferdinand Thiessen 2026-02-12 14:53:55 +01:00
parent f2907f133c
commit 560df4a73c
No known key found for this signature in database
GPG key ID: 7E849AE05218500F

View file

@ -97,10 +97,10 @@ class CacheWrapper extends Cache {
}
/**
* get the metadata of all files stored in $folder
* Get the metadata of all files stored in given folder
*
* @param int $fileId the file id of the folder
* @return array
* @return ICacheEntry[]
*/
public function getFolderContentsById(int $fileId, ?string $mimeTypeFilter = null) {
$results = $this->getCache()->getFolderContentsById($fileId, $mimeTypeFilter);