Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-02-18 12:44:50 +0300
committerGitHub <noreply@github.com>2022-02-18 12:44:50 +0300
commitee711ed66cdaed403e654dc78600477d1296e7f0 (patch)
tree0d0fcb01c7161889da3d40158c16d6c255c870f1 /lib
parentd2518471727e42b320ec208df1a56fcc2639a9e3 (diff)
parent8af40542379df1338a07ec1628147bb79a92be4f (diff)
Merge pull request #30367 from nextcloud/fix/minor-api-doc-fix
Fix some issues with the API documentation
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Settings/Section.php11
-rw-r--r--lib/public/Files/FileInfo.php4
-rw-r--r--lib/public/Files/Node.php3
3 files changed, 8 insertions, 10 deletions
diff --git a/lib/private/Settings/Section.php b/lib/private/Settings/Section.php
index 6ec0d5ee04a..ba94a38e874 100644
--- a/lib/private/Settings/Section.php
+++ b/lib/private/Settings/Section.php
@@ -50,20 +50,16 @@ class Section implements IIconSection {
}
/**
- * returns the ID of the section. It is supposed to be a lower case string,
+ * @return string The ID of the section. It is supposed to be a lower case string,
* e.g. 'ldap'
- *
- * @returns string
*/
public function getID() {
return $this->id;
}
/**
- * returns the translated name as it should be displayed, e.g. 'LDAP / AD
+ * @return string The translated name as it should be displayed, e.g. 'LDAP / AD
* integration'. Use the L10N service to translate it.
- *
- * @return string
*/
public function getName() {
return $this->name;
@@ -81,10 +77,9 @@ class Section implements IIconSection {
}
/**
- * returns the relative path to an 16*16 icon describing the section.
+ * @return string The relative path to an 16*16 icon describing the section.
* e.g. '/core/img/places/files.svg'
*
- * @returns string
* @since 12
*/
public function getIcon() {
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
*/