diff options
author | Robin Appelman <robin@icewind.nl> | 2021-01-29 16:16:03 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-03-23 12:25:37 +0100 |
commit | 7995c6e1dce83becf1e948de960894d481775a6f (patch) | |
tree | f36b77877bbc3c0c2e81d840e0eff20613e280a1 /lib/private/Files | |
parent | a219fa587af77bcb5f9d0a9a9cd3b0e0134153ff (diff) | |
download | nextcloud-server-7995c6e1dce83becf1e948de960894d481775a6f.tar.gz nextcloud-server-7995c6e1dce83becf1e948de960894d481775a6f.zip |
dont return private storage interface from public mount interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Storage/Storage.php | 2 | ||||
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Jail.php | 2 | ||||
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Wrapper.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Files/Storage/Storage.php b/lib/private/Files/Storage/Storage.php index 73793aa31fb..94f1ee62430 100644 --- a/lib/private/Files/Storage/Storage.php +++ b/lib/private/Files/Storage/Storage.php @@ -38,7 +38,7 @@ interface Storage extends \OCP\Files\Storage { * get a cache instance for the storage * * @param string $path - * @param \OC\Files\Storage\Storage (optional) the storage to pass to the cache + * @param \OC\Files\Storage\Storage|null (optional) the storage to pass to the cache * @return \OC\Files\Cache\Cache */ public function getCache($path = '', $storage = null); diff --git a/lib/private/Files/Storage/Wrapper/Jail.php b/lib/private/Files/Storage/Wrapper/Jail.php index 276f00af33c..aa6cbf7e40c 100644 --- a/lib/private/Files/Storage/Wrapper/Jail.php +++ b/lib/private/Files/Storage/Wrapper/Jail.php @@ -396,7 +396,7 @@ class Jail extends Wrapper { * get a cache instance for the storage * * @param string $path - * @param \OC\Files\Storage\Storage (optional) the storage to pass to the cache + * @param \OC\Files\Storage\Storage|null (optional) the storage to pass to the cache * @return \OC\Files\Cache\Cache */ public function getCache($path = '', $storage = null) { diff --git a/lib/private/Files/Storage/Wrapper/Wrapper.php b/lib/private/Files/Storage/Wrapper/Wrapper.php index cffe610c6c2..d45d5e9f9f0 100644 --- a/lib/private/Files/Storage/Wrapper/Wrapper.php +++ b/lib/private/Files/Storage/Wrapper/Wrapper.php @@ -386,7 +386,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea * get a cache instance for the storage * * @param string $path - * @param \OC\Files\Storage\Storage (optional) the storage to pass to the cache + * @param \OC\Files\Storage\Storage|null (optional) the storage to pass to the cache * @return \OC\Files\Cache\Cache */ public function getCache($path = '', $storage = null) { |