summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-12-21 15:33:37 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-02-17 11:09:06 +0100
commit8af40542379df1338a07ec1628147bb79a92be4f (patch)
tree31879e0445f3f0cd34652de82d619cf588ea6922 /lib/public
parent1bfd001cf6add6cb99d5231502c8c19e8dce910a (diff)
downloadnextcloud-server-8af40542379df1338a07ec1628147bb79a92be4f.tar.gz
nextcloud-server-8af40542379df1338a07ec1628147bb79a92be4f.zip
Fix some issues with the API documentation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/FileInfo.php4
-rw-r--r--lib/public/Files/Node.php3
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php
index 00b1e78fbac..92c191b63e0 100644
--- a/lib/public/Files/FileInfo.php
+++ b/lib/public/Files/FileInfo.php
@@ -28,6 +28,8 @@
*/
namespace OCP\Files;
+use OCP\Files\Storage\IStorage;
+
/**
* Interface FileInfo
*
@@ -138,7 +140,7 @@ interface FileInfo {
/**
* Get the storage the file or folder is storage on
*
- * @return \OCP\Files\Storage
+ * @return IStorage
* @since 7.0.0
*/
public function getStorage();
diff --git a/lib/public/Files/Node.php b/lib/public/Files/Node.php
index 1e5fc580db3..b892d8e0a73 100644
--- a/lib/public/Files/Node.php
+++ b/lib/public/Files/Node.php
@@ -31,6 +31,7 @@
namespace OCP\Files;
use OCP\Lock\LockedException;
+use OCP\Files\Storage\IStorage;
/**
* Interface Node
@@ -87,7 +88,7 @@ interface Node extends FileInfo {
/**
* Get the storage backend the file or folder is stored on
*
- * @return Storage
+ * @return IStorage
* @throws NotFoundException
* @since 6.0.0
*/