modify plugin name

This commit is contained in:
2022-06-22 16:50:37 +08:00
parent b85ba031f6
commit 5f3d60cca9
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -2,7 +2,6 @@
namespace Kiri\Server\Abstracts;
use Kiri\Exception\ConfigException;
use Swoole\Http\Server as HServer;
use Swoole\Server;
use Kiri\Server\Constant;
@@ -19,11 +18,12 @@ trait TraitServer
/**
* @param array $class
* @return void
* @throws ConfigException
*/
public function addProcess(array $class): void
{
$this->processManager->batch($class);
foreach ($class as $item) {
$this->_process[] = $item;
}
}