diff --git a/xmppclient.php b/xmppclient.php index 3600cc9..fbc9f30 100644 --- a/xmppclient.php +++ b/xmppclient.php @@ -32,17 +32,17 @@ class xmppclient */ private $debug = false; - /* The object identifier increment - */ + /** The object identifier increment + */ private $id = 0; - /* The JID provided by the user - */ + /** The JID provided by the user + */ private $jid = ""; - /* Ratelimiter of send commands to server. Store the last timestamp, in - * microseconds. - */ + /** Ratelimiter of send commands to server. Store the last timestamp, in + * microseconds. + */ private $sendLastTime = 0; // }}} @@ -75,7 +75,7 @@ class xmppclient "to='$domain' from='$client'>"; $this->sock->connect (); $this->debug ("Info: Connected to '$server:$port'"); - $this->send ($this->xmlStream); + $this->send ($this->xmlStream); $xml = $this->read (); // Check if we can/must go in StartTLS preg_match ("#(.*)<\/starttls>#", $xml, $tls); @@ -219,7 +219,7 @@ class xmppclient // }}} /** Send the data on socket, add the carriage return - * @param $msg The message to send + * @param string $msg The message to send */ private function send ($msg) // {{{