Skip to content

Commit

Permalink
修改注解库版本
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Sep 28, 2022
1 parent 696ddc2 commit dca9dbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Command/DefaultCommand/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function start()
$displayItem = $displayItem + $data;
$displayItem['swoole version'] = phpversion('swoole');
$displayItem['php version'] = phpversion();
$displayItem['easyswoole.php version'] = SysConst::EASYSWOOLE_VERSION;
$displayItem['easyswoole version'] = SysConst::EASYSWOOLE_VERSION;
$displayItem['run mode'] = Core::getInstance()->runMode();
$displayItem['temp dir'] = EASYSWOOLE_TEMP_DIR;
$displayItem['log dir'] = EASYSWOOLE_LOG_DIR;
Expand Down
2 changes: 1 addition & 1 deletion src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private function registerDefaultCallBack(Server $server, int $serverType)
if ($waitTime == 0) {
$waitTime = 5;
}
$dispatcher = Dispatcher::getInstance()->setNamespacePrefix($namespace)->setMaxDepth($depth)->setControllerMaxPoolNum($max)->setControllerPoolWaitTime($waitTime);;
$dispatcher = Dispatcher::getInstance()->setNamespacePrefix($namespace)->setMaxDepth($depth);
//补充HTTP_EXCEPTION_HANDLER默认回调
$httpExceptionHandler = Di::getInstance()->get(SysConst::HTTP_EXCEPTION_HANDLER);
if (!is_callable($httpExceptionHandler)) {
Expand Down

0 comments on commit dca9dbd

Please sign in to comment.