[TASK] Made all constuctors and destructors public.

[TASK] Added some DocComments for the IrcClient.
This commit is contained in:
Jan Philipp Timme
2010-12-18 14:42:56 +00:00
parent 03a4dfff71
commit 26036e9994
11 changed files with 39 additions and 16 deletions
+2 -2
View File
@@ -87,7 +87,7 @@ class Connection_ConnectionHandler {
* @param $linebreak
* @return void
*/
function __construct($socket, $id, $group = "", $protocol = "") {
public function __construct($socket, $id, $group = "", $protocol = "") {
$this->buffer_incoming = new Misc_Buffer();
$this->buffer_outgoing = new Misc_Buffer();
$this->socketHandler = new Socket_SocketHandler($socket);
@@ -105,7 +105,7 @@ class Connection_ConnectionHandler {
* Calls parent destructor.
* @return void
*/
function __destruct() {
public function __destruct() {
unset($this->socketHandler);
}