diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-05-19 14:08:42 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-05-19 14:08:42 +0200 |
commit | 6c4b650524c4a8655984b89d4e7d105cfa61808c (patch) | |
tree | 705b7a235cc3780b902556b9af4b6625c6419e43 /apps/files_versions | |
parent | 1cff73b61520462d3b22bdd85998eb0e48693ec5 (diff) | |
parent | e7aebc5c32c783f75a26f6ebc8116886a8cb55cf (diff) | |
download | nextcloud-server-6c4b650524c4a8655984b89d4e7d105cfa61808c.tar.gz nextcloud-server-6c4b650524c4a8655984b89d4e7d105cfa61808c.zip |
Merge pull request #8585 from owncloud/phpdoc-improvements-apps
PHPDoc improvements /apps
* owncloud/phpdoc-improvements-apps:
Fix whitespace issues
Reduce double-space with single-space.
Remove spaces around | operator in doc block.
Fix more missing or broken PHPDoc
PHPDoc fixes for user_ldap
Fix PHPDoc in /apps
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/lib/hooks.php | 6 | ||||
-rw-r--r-- | apps/files_versions/lib/versions.php | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/apps/files_versions/lib/hooks.php b/apps/files_versions/lib/hooks.php index 5d3882cc3e3..c0f7201de3b 100644 --- a/apps/files_versions/lib/hooks.php +++ b/apps/files_versions/lib/hooks.php @@ -30,7 +30,7 @@ class Hooks { /** * @brief Erase versions of deleted file - * @param array + * @param array $params * * This function is connected to the delete signal of OC_Filesystem * cleanup the versions directory if the actual file gets deleted @@ -58,7 +58,7 @@ class Hooks { /** * @brief rename/move versions of renamed/moved files - * @param array with oldpath and newpath + * @param array $params array with oldpath and newpath * * This function is connected to the rename signal of OC_Filesystem and adjust the name and location * of the stored versions along the actual file @@ -76,7 +76,7 @@ class Hooks { /** * @brief clean up user specific settings if user gets deleted - * @param array with uid + * @param array $params array with uid * * This function is connected to the pre_deleteUser signal of OC_Users * to remove the used space for versions stored in the database diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php index e97510dead8..3bbbb26791b 100644 --- a/apps/files_versions/lib/versions.php +++ b/apps/files_versions/lib/versions.php @@ -53,7 +53,7 @@ class Storage { /** * get current size of all versions from a given user * - * @param $user user who owns the versions + * @param string $user user who owns the versions * @return mixed versions size or false if no versions size is stored */ private static function getVersionsSize($user) { @@ -69,8 +69,8 @@ class Storage { /** * write to the database how much space is in use for versions * - * @param $user owner of the versions - * @param $size size of the versions + * @param string $user owner of the versions + * @param int $size size of the versions */ private static function setVersionsSize($user, $size) { if ( self::getVersionsSize($user) === false) { @@ -336,7 +336,7 @@ class Storage { /** * @brief deletes used space for files versions in db if user was deleted * - * @param type $uid id of deleted user + * @param string $uid id of deleted user * @return \OC_DB_StatementWrapper of db delete operation */ public static function deleteUser($uid) { @@ -346,8 +346,8 @@ class Storage { /** * @brief get the size of all stored versions from a given user - * @param $uid id from the user - * @return size of vesions + * @param string $uid id from the user + * @return int size of versions */ private static function calculateSize($uid) { if (\OCP\Config::getSystemValue('files_versions', Storage::DEFAULTENABLED) == 'true') { |