File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
lib/private/Files/Cache/Wrapper Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 37053705 <code ><![CDATA[ $this->cache instanceof Cache]]> </code >
37063706 </RedundantCondition >
37073707 </file >
3708- <file src =" lib/private/Files/Cache/Wrapper/CacheWrapper.php" >
3709- <LessSpecificImplementedReturnType >
3710- <code ><![CDATA[ array]]> </code >
3711- <code ><![CDATA[ array]]> </code >
3712- </LessSpecificImplementedReturnType >
3713- </file >
37143708 <file src =" lib/private/Files/Config/MountProviderCollection.php" >
37153709 <InvalidOperand >
37163710 <code ><![CDATA[ $user]]> </code >
Original file line number Diff line number Diff line change @@ -100,14 +100,14 @@ public function getFolderContents($folder) {
100100 }
101101
102102 /**
103- * get the metadata of all files stored in $ folder
103+ * Get the metadata of all files stored in given folder
104104 *
105105 * @param int $fileId the file id of the folder
106- * @return array
106+ * @return ICacheEntry[]
107107 */
108108 public function getFolderContentsById ($ fileId ) {
109109 $ results = $ this ->getCache ()->getFolderContentsById ($ fileId );
110- return array_map ([ $ this , ' formatCacheEntry ' ] , $ results );
110+ return array_filter ( array_map ($ this -> formatCacheEntry (...) , $ results) );
111111 }
112112
113113 /**
You can’t perform that action at this time.
0 commit comments