This commit is contained in:
2020-09-01 15:29:01 +08:00
parent 41cb49d7e3
commit 3a12ad4db2
4 changed files with 4 additions and 7 deletions
+1 -2
View File
@@ -37,8 +37,8 @@ class Http 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);
}
@@ -55,7 +55,6 @@ class Http extends Server
public function set(array $settings, $pool = null, $events = [], $config = [])
{
parent::set($settings);
Snowflake::get()->set(Pool::class, $pool);
ServerManager::set($this, $settings, $this->application, $events, $config);
}