Fix event typo. (#962)

This commit is contained in:
gaodc93 2019-11-16 08:39:33 +08:00 committed by 李铭昕
parent 5243b57ab6
commit bac1442f81

View File

@ -106,7 +106,7 @@ class Server implements ServerInterface
ServerManager::add($name, [$type, current($this->server->ports)]);
if (class_exists(BeforeMainServerStart::class)) {
// Trigger BeforeMainEventStart event, this event only trigger once before main server start.
// Trigger BeforeMainServerStart event, this event only trigger once before main server start.
$this->eventDispatcher->dispatch(new BeforeMainServerStart($this->server, $config->toArray()));
}
} else {