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
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-11 21:05:28 +0400
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 22:08:14 +0400
commitb653ad164b83afbc07d7a82d2e4461dace28ba6a (patch)
treee1923c2b5116f0f8a242491f949d56db63288e1a /lib/private/group
parentf5bc680f9c725c0aea166f3fc3eee8e0bcf5427c (diff)
Replace @returns with @return, in /lib
Diffstat (limited to 'lib/private/group')
-rw-r--r--lib/private/group/dummy.php18
-rw-r--r--lib/private/group/example.php16
2 files changed, 17 insertions, 17 deletions
diff --git a/lib/private/group/dummy.php b/lib/private/group/dummy.php
index 94cbb607ad1..37987f20128 100644
--- a/lib/private/group/dummy.php
+++ b/lib/private/group/dummy.php
@@ -29,7 +29,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief Try to create a new group
* @param string $gid The name of the group to create
- * @returns true/false
+ * @return true/false
*
* Trys to create a new group. If the group name already exists, false will
* be returned.
@@ -46,7 +46,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief delete a group
* @param $gid gid of the group to delete
- * @returns true/false
+ * @return true/false
*
* Deletes a group and removes it from the group_user-table
*/
@@ -63,7 +63,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
* @brief is user in group?
* @param $uid uid of the user
* @param $gid gid of the group
- * @returns true/false
+ * @return true/false
*
* Checks whether the user is member of a group or not.
*/
@@ -79,7 +79,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
* @brief Add a user to a group
* @param $uid Name of the user to add to group
* @param $gid Name of the group in which add the user
- * @returns true/false
+ * @return true/false
*
* Adds a user to a group.
*/
@@ -100,7 +100,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
* @brief Removes a user from a group
* @param $uid NameUSER of the user to remove from group
* @param $gid Name of the group from which remove the user
- * @returns true/false
+ * @return true/false
*
* removes the user from a group.
*/
@@ -119,7 +119,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief Get all groups a user belongs to
* @param $uid Name of the user
- * @returns array with group names
+ * @return array with group names
*
* This function fetches all groups a user belongs to. It does not check
* if the user exists at all.
@@ -137,7 +137,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief get a list of all groups
- * @returns array with group names
+ * @return array with group names
*
* Returns a list with all groups
*/
@@ -147,7 +147,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief get a list of all users in a group
- * @returns array with user ids
+ * @return array with user ids
*/
public function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
if(isset($this->groups[$gid])) {
@@ -159,7 +159,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief get the number of all users in a group
- * @returns int | bool
+ * @return int | bool
*/
public function countUsersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
if(isset($this->groups[$gid])) {
diff --git a/lib/private/group/example.php b/lib/private/group/example.php
index 3519b9ed92f..bcd6f814356 100644
--- a/lib/private/group/example.php
+++ b/lib/private/group/example.php
@@ -29,7 +29,7 @@ abstract class OC_Group_Example {
/**
* @brief Try to create a new group
* @param $gid The name of the group to create
- * @returns true/false
+ * @return true/false
*
* Trys to create a new group. If the group name already exists, false will
* be returned.
@@ -39,7 +39,7 @@ abstract class OC_Group_Example {
/**
* @brief delete a group
* @param $gid gid of the group to delete
- * @returns true/false
+ * @return true/false
*
* Deletes a group and removes it from the group_user-table
*/
@@ -49,7 +49,7 @@ abstract class OC_Group_Example {
* @brief is user in group?
* @param $uid uid of the user
* @param $gid gid of the group
- * @returns true/false
+ * @return true/false
*
* Checks whether the user is member of a group or not.
*/
@@ -59,7 +59,7 @@ abstract class OC_Group_Example {
* @brief Add a user to a group
* @param $uid Name of the user to add to group
* @param $gid Name of the group in which add the user
- * @returns true/false
+ * @return true/false
*
* Adds a user to a group.
*/
@@ -69,7 +69,7 @@ abstract class OC_Group_Example {
* @brief Removes a user from a group
* @param $uid NameUSER of the user to remove from group
* @param $gid Name of the group from which remove the user
- * @returns true/false
+ * @return true/false
*
* removes the user from a group.
*/
@@ -78,7 +78,7 @@ abstract class OC_Group_Example {
/**
* @brief Get all groups a user belongs to
* @param $uid Name of the user
- * @returns array with group names
+ * @return array with group names
*
* This function fetches all groups a user belongs to. It does not check
* if the user exists at all.
@@ -87,7 +87,7 @@ abstract class OC_Group_Example {
/**
* @brief get a list of all groups
- * @returns array with group names
+ * @return array with group names
*
* Returns a list with all groups
*/
@@ -102,7 +102,7 @@ abstract class OC_Group_Example {
/**
* @brief get a list of all users in a group
- * @returns array with user ids
+ * @return array with user ids
*/
abstract public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0);