改名
This commit is contained in:
@@ -48,8 +48,8 @@ class WebSocket extends Server
|
||||
*/
|
||||
public function __construct($application, $host, $port = null, $mode = null, $sock_type = null)
|
||||
{
|
||||
parent::__construct($host, $port, $mode, $sock_type);
|
||||
$this->application = $application;
|
||||
parent::__construct($host, $port, $mode, $sock_type);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,6 @@ class WebSocket extends Server
|
||||
|
||||
$application = Snowflake::get();
|
||||
$application->set(WebSocket::class, $this);
|
||||
$application->set(Pool::class, $pool);
|
||||
|
||||
ServerManager::set($this, $settings, $application, $events, $config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user