fix comment spacing problem (build 443)

This commit is contained in:
crazywhalecc
2022-03-20 16:23:07 +08:00
parent 444a77933a
commit 7ce3ef41df
26 changed files with 91 additions and 92 deletions

View File

@@ -91,7 +91,7 @@ class InitCommand extends Command
$output->writeln('<info>Done!</info>');
return 0;
}
if (LOAD_MODE === 2) { //从phar启动的框架包初始化的模式
if (LOAD_MODE === 2) { // 从phar启动的框架包初始化的模式
$phar_link = new Phar(__DIR__);
$current_dir = pathinfo($phar_link->getPath())['dirname'];
chdir($current_dir);

View File

@@ -32,7 +32,7 @@ class ModuleListCommand extends Command
exit(zm_internal_errcode('E00007') . 'Global config load failed: ' . ZMConfig::$last_error . "\nPlease init first!\nSee: https://github.com/zhamao-robot/zhamao-framework/issues/37\n");
}
//定义常量
// 定义常量
/** @noinspection PhpIncludeInspection */
include_once DataProvider::getFrameworkRootDir() . '/src/ZM/global_defines.php';

View File

@@ -36,7 +36,7 @@ class ModulePackCommand extends Command
exit(zm_internal_errcode('E00007') . 'Global config load failed: ' . ZMConfig::$last_error . "\nPlease init first!\nSee: https://github.com/zhamao-robot/zhamao-framework/issues/37\n");
}
//定义常量
// 定义常量
include_once DataProvider::getFrameworkRootDir() . '/src/ZM/global_defines.php';
Console::init(

View File

@@ -41,7 +41,7 @@ class ModuleUnpackCommand extends Command
exit(zm_internal_errcode('E00007') . 'Global config load failed: ' . ZMConfig::$last_error . "\nPlease init first!\nSee: https://github.com/zhamao-robot/zhamao-framework/issues/37\n");
}
//定义常量
// 定义常量
/** @noinspection PhpIncludeInspection */
include_once DataProvider::getFrameworkRootDir() . '/src/ZM/global_defines.php';

View File

@@ -73,7 +73,7 @@ class PureHttpCommand extends Command
'document_index' => $index,
]
);
//echo "\r" . Coroutine::stats()["coroutine_peak_num"];
// echo "\r" . Coroutine::stats()["coroutine_peak_num"];
});
$server->on('start', function ($server) {
Process::signal(SIGINT, function () use ($server) {