mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-05 05:07:58 +08:00
Fix event typo. (#962)
This commit is contained in:
parent
5243b57ab6
commit
bac1442f81
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user