[TASK] Made all constuctors and destructors public.
[TASK] Added some DocComments for the IrcClient.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user