This commit is contained in:
2020-12-17 14:10:01 +08:00
parent 36c1d0502a
commit fe1f71a051
+2 -2
View File
@@ -43,11 +43,11 @@ trait Server
/**
* @return mixed
* @return void
* @throws NotFindClassException
* @throws ReflectionException
*/
public function onHandlerListener(): mixed
public function onHandlerListener(): void
{
$this->on('WorkerStop', $this->createHandler('workerStop'));
$this->on('WorkerExit', $this->createHandler('workerExit'));