diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-05-15 13:19:32 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-05-16 22:21:57 +0100 |
commit | 6930ae22e462e3fd11acbe0f103f2b9a8e8c0e20 (patch) | |
tree | e7a68a614e8db76cf75a2b2c61003ebe25a68216 /apps/files_sharing | |
parent | a17f9111a087055306f8aabf1b4a0c4aca9684e8 (diff) | |
download | nextcloud-server-6930ae22e462e3fd11acbe0f103f2b9a8e8c0e20.tar.gz nextcloud-server-6930ae22e462e3fd11acbe0f103f2b9a8e8c0e20.zip |
Fix more missing or broken PHPDoc
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/cache.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/maintainer.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 8 |
3 files changed, 5 insertions, 7 deletions
diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php index f74315c85f9..6a6c7378e06 100644 --- a/apps/files_sharing/lib/cache.php +++ b/apps/files_sharing/lib/cache.php @@ -80,7 +80,7 @@ class Shared_Cache extends Cache { /** * get the stored metadata of a file or folder * - * @param string /int $file + * @param string|int $file * @return array */ public function get($file) { diff --git a/apps/files_sharing/lib/maintainer.php b/apps/files_sharing/lib/maintainer.php index bbb3268410e..f07c09e5aee 100644 --- a/apps/files_sharing/lib/maintainer.php +++ b/apps/files_sharing/lib/maintainer.php @@ -33,7 +33,7 @@ class Maintainer { * Keeps track of the "allow links" config setting * and removes all link shares if the config option is set to "no" * - * @param array with app, key, value as named values + * @param array $params array with app, key, value as named values */ static public function configChangeHook($params) { if($params['app'] === 'core' && $params['key'] === 'shareapi_allow_links' && $params['value'] === 'no') { diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index d1ca60ff6ac..a6a34d9adc0 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -53,8 +53,7 @@ class Shared extends \OC\Files\Storage\Common { /** * @brief Get the source file path, permissions, and owner for a shared file - * @param string Shared target file path - * @param string $target + * @param string $target Shared target file path * @return Returns array with the keys path, permissions, and owner or false if not found */ public function getFile($target) { @@ -77,8 +76,7 @@ class Shared extends \OC\Files\Storage\Common { /** * @brief Get the source file path for a shared file - * @param string Shared target file path - * @param string $target + * @param string $target Shared target file path * @return string source file path or false if not found */ public function getSourcePath($target) { @@ -101,7 +99,7 @@ class Shared extends \OC\Files\Storage\Common { /** * @brief Get the permissions granted for a shared file - * @param string Shared target file path + * @param string $target Shared target file path * @return int CRUDS permissions granted */ public function getPermissions($target) { |