File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040use OC \Files \Storage \Wrapper \PermissionsMask ;
4141use OC \User \NoUserException ;
4242use OCP \Constants ;
43+ use OCP \Files \Cache \ICache ;
4344use OCP \Files \Cache \ICacheEntry ;
4445use OCP \Files \NotFoundException ;
4546use OCP \Files \Storage \IDisableEncryptionStorage ;
@@ -370,8 +371,8 @@ public function getItemType() {
370371
371372 /**
372373 * @param string $path
373- * @param null $storage
374- * @return Cache
374+ * @param IStorage| null $storage
375+ * @return ICache
375376 */
376377 public function getCache ($ path = '' , $ storage = null ) {
377378 if ($ this ->cache ) {
Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ public function getOwner($path);
434434
435435 /**
436436 * @param string $path
437- * @param IStorage $storage
437+ * @param IStorage|null $storage
438438 * @return ICache
439439 * @since 9.0.0
440440 */
You can’t perform that action at this time.
0 commit comments