style: formatter

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
李东云
2023-12-18 16:05:20 +08:00
parent 9d2e4ca9f8
commit 9e538d4c53

View File

@@ -5,6 +5,7 @@ declare(strict_types=1);
use Swoole\Runtime; use Swoole\Runtime;
use Hyperf\Di\ClassLoader; use Hyperf\Di\ClassLoader;
use Hyperf\Contract\ApplicationInterface; use Hyperf\Contract\ApplicationInterface;
/** /**
* This file is part of Hyperf. * This file is part of Hyperf.
* *
@@ -19,8 +20,8 @@ ini_set('display_startup_errors', 'on');
error_reporting(E_ALL); error_reporting(E_ALL);
date_default_timezone_set('Asia/Shanghai'); date_default_timezone_set('Asia/Shanghai');
! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1)); !defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL); !defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
Runtime::enableCoroutine(true); Runtime::enableCoroutine(true);