summaryrefslogtreecommitdiffstats
path: root/lib/private/group
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-14 21:19:08 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-14 21:26:47 +0200
commit73e2bf7bf46e671ed5b781b8ba5bfa4db24d3e3a (patch)
tree0919a6b42fdff6d51e8856a61605353db91a0f70 /lib/private/group
parentab2c7e06a4ea3c751058b6b72dc9b8832836669a (diff)
downloadnextcloud-server-73e2bf7bf46e671ed5b781b8ba5bfa4db24d3e3a.tar.gz
nextcloud-server-73e2bf7bf46e671ed5b781b8ba5bfa4db24d3e3a.zip
fixing PHPDoc
Diffstat (limited to 'lib/private/group')
-rw-r--r--lib/private/group/metadata.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/private/group/metadata.php b/lib/private/group/metadata.php
index 303543d48c6..57abbe20c64 100644
--- a/lib/private/group/metadata.php
+++ b/lib/private/group/metadata.php
@@ -39,9 +39,9 @@ class MetaData {
protected $sorting = false;
/**
- * @param string the uid of the current user
- * @param bool whether the current users is an admin
- * @param \OC\Group\Manager
+ * @param string $user the uid of the current user
+ * @param bool $isAdmin whether the current users is an admin
+ * @param \OC\Group\Manager $groupManager
*/
public function __construct(
$user,
@@ -105,9 +105,9 @@ class MetaData {
}
/**
- * @brief sets the sort mode, currently 0 (none) and 1 (user entries,
+ * sets the sort mode, currently 0 (none) and 1 (user entries,
* descending) are supported
- * @param int the sortMode (SORT_NONE, SORT_USERCOUNT)
+ * @param int $sortMode (SORT_NONE, SORT_USERCOUNT)
*/
public function setSorting($sortMode) {
if($sortMode >= 0 && $sortMode <= 1) {
@@ -118,11 +118,11 @@ class MetaData {
}
/**
- * @brief adds an group entry to the resulting array
- * @param array the resulting array, by reference
- * @param array the sort key array, by reference
- * @param array the sort key index, by reference
- * @param array the group's meta data as returned by generateGroupMetaData()
+ * adds an group entry to the resulting array
+ * @param array $entries the resulting array, by reference
+ * @param array $sortKeys the sort key array, by reference
+ * @param int $sortIndex the sort key index, by reference
+ * @param array $data the group's meta data as returned by generateGroupMetaData()
* @return null
*/
private function addEntry(&$entries, &$sortKeys, &$sortIndex, $data) {
@@ -134,7 +134,7 @@ class MetaData {
}
/**
- * @brief creates an array containing the group meta data
+ * creates an array containing the group meta data
* @param \OC\Group\Group $group
* @param string $userSearch
* @return array with the keys 'id', 'name' and 'usercount'
@@ -148,9 +148,9 @@ class MetaData {
}
/**
- * @brief sorts the result array, if applicable
- * @param array the result array, by reference
- * @param array the array containing the sort keys
+ * sorts the result array, if applicable
+ * @param array $entries the result array, by reference
+ * @param array $sortKeys the array containing the sort keys
* @param return null
*/
private function sort(&$entries, $sortKeys) {
@@ -160,8 +160,8 @@ class MetaData {
}
/**
- * @brief returns the available groups
- * @param string a search string
+ * returns the available groups
+ * @param string $search a search string
* @return \OC\Group\Group[]
*/
private function getGroups($search = '') {