diff --git a/XMPPHP/XMPP.php b/XMPPHP/XMPP.php index 9588c13..37c8684 100644 --- a/XMPPHP/XMPP.php +++ b/XMPPHP/XMPP.php @@ -239,8 +239,9 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { /** * Add user to Roster * - * @param string $jid - * @param string $name + * @param string $jid user jid + * @param string $name user nickname + * @param string $group group to add */ public function RosterAddUser($jid, $name=null, $group=null) { $payload = "\n". @@ -251,11 +252,11 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { /** * Send ID action * - * @param string $to - * @param string $type - * @param string $xmlns - * @param string $payload - * @param string $from + * @param string $to to jid + * @param string $type type of ID + * @param string $xmlns xmlns name + * @param string $payload payload string + * @param string $from from jid */ private function sendIq($to = NULL, $type = 'get', $xmlns = NULL, $payload = NULL, $from = NULL) {