Just need to change order of params in doc block to match function signature. Only a problem for folks who trust the pop-up info from their IDEs, e.g. Zend Studio, and don't verify the function argument order.
Lines 18,19 should go:
- @param int $groupid The group id
- @param int $userid The user id