aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/group.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index f47f88bff..9cb66a871 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -172,9 +172,9 @@
/**
* Remove a user from the group.
*
- * @param int $guid GUID of the user
+ * @param ElggUser $user
*/
- public function leave($guid)
+ public function leave(ElggUser $user)
{
return leave_group($this->getGUID(), $user->getGUID());
}