diff options
Diffstat (limited to 'lib/private/files')
-rw-r--r-- | lib/private/files/node/root.php | 2 | ||||
-rw-r--r-- | lib/private/files/storage/common.php | 2 | ||||
-rw-r--r-- | lib/private/files/stream/dir.php | 1 | ||||
-rw-r--r-- | lib/private/files/type/detection.php | 4 |
4 files changed, 5 insertions, 4 deletions
diff --git a/lib/private/files/node/root.php b/lib/private/files/node/root.php index 35163be0a0d..40ed531d5df 100644 --- a/lib/private/files/node/root.php +++ b/lib/private/files/node/root.php @@ -169,7 +169,7 @@ class Root extends Folder implements IRootFolder { * @param string $path * @throws \OCP\Files\NotFoundException * @throws \OCP\Files\NotPermittedException - * @return \OCP\Files\Node + * @return string */ public function get($path) { $path = $this->normalizePath($path); diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php index 95bb3f74ba7..7d8d9ebd25e 100644 --- a/lib/private/files/storage/common.php +++ b/lib/private/files/storage/common.php @@ -396,7 +396,7 @@ abstract class Common implements Storage, ILockingStorage { * get the ETag for a file or folder * * @param string $path - * @return string|false + * @return string */ public function getETag($path) { return uniqid(); diff --git a/lib/private/files/stream/dir.php b/lib/private/files/stream/dir.php index fabadb0d596..7489ee683a2 100644 --- a/lib/private/files/stream/dir.php +++ b/lib/private/files/stream/dir.php @@ -58,6 +58,7 @@ class Dir { /** * @param string $path + * @param string[] $content */ public static function register($path, $content) { self::$dirs[$path] = $content; diff --git a/lib/private/files/type/detection.php b/lib/private/files/type/detection.php index 9cc2e97c3cc..f106a98064f 100644 --- a/lib/private/files/type/detection.php +++ b/lib/private/files/type/detection.php @@ -121,7 +121,7 @@ class Detection implements IMimeTypeDetector { } /** - * @return array + * @return string[] */ public function getAllAliases() { $this->loadAliases(); @@ -264,7 +264,7 @@ class Detection implements IMimeTypeDetector { /** * Get path to the icon of a file type - * @param string $mimeType the MIME type + * @param string $mimetype the MIME type * @return string the url */ public function mimeTypeIcon($mimetype) { |