diff --git a/http-server/Events/WebSocket.php b/http-server/Events/WebSocket.php index f5da3b29..947c1c70 100644 --- a/http-server/Events/WebSocket.php +++ b/http-server/Events/WebSocket.php @@ -48,8 +48,8 @@ class WebSocket extends Server */ public function __construct($application, $host, $port = null, $mode = null, $sock_type = null) { - $this->application = $application; parent::__construct($host, $port, $mode, $sock_type); + $this->application = $application; }