We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OC\Files\Cache\Wrapper\CacheWrapper::getFolderContentsById
1 parent c9e5c69 commit bb58e47Copy full SHA for bb58e47
lib/private/Files/Cache/Wrapper/CacheWrapper.php
@@ -88,14 +88,14 @@ public function getFolderContents($folder) {
88
}
89
90
/**
91
- * get the metadata of all files stored in $folder
+ * Get the metadata of all files stored in given folder
92
*
93
* @param int $fileId the file id of the folder
94
- * @return array
+ * @return ICacheEntry[]
95
*/
96
public function getFolderContentsById($fileId) {
97
$results = $this->getCache()->getFolderContentsById($fileId);
98
- return array_map([$this, 'formatCacheEntry'], $results);
+ return array_filter(array_map($this->formatCacheEntry(...), $results));
99
100
101
0 commit comments