[TASK] Made all constuctors and destructors public.
[TASK] Added some DocComments for the IrcClient.
This commit is contained in:
@@ -34,7 +34,7 @@ class Socket_SocketHandler {
|
||||
* @param ressource $socket
|
||||
* @return void
|
||||
*/
|
||||
function __construct($socket) {
|
||||
public function __construct($socket) {
|
||||
if(is_resource($socket) === FALSE) throw new Exception_SocketException("Invalid socket ressource!", 1289663108);
|
||||
$this->socket = $socket;
|
||||
$this->is_bound = FALSE;
|
||||
@@ -46,7 +46,7 @@ class Socket_SocketHandler {
|
||||
* Destructor. Closes socket.
|
||||
* @return void
|
||||
*/
|
||||
function __destruct() {
|
||||
public function __destruct() {
|
||||
$this->close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user