From b5c91531fab2f460f60a281f71087842fe1ae841 Mon Sep 17 00:00:00 2001 From: sunxyw Date: Fri, 18 Nov 2022 15:16:48 +0800 Subject: [PATCH] fix comment position --- src/entry.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/entry.php b/src/entry.php index 622549c8..0bfbbece 100644 --- a/src/entry.php +++ b/src/entry.php @@ -2,14 +2,9 @@ declare(strict_types=1); -/** - * CLI Application 入口文件,先引入 Composer 组件 - * - * @noinspection PhpIncludeInspection - */ - use OneBot\Exception\ExceptionHandler; +// CLI Application 入口文件,先引入 Composer 组件 require_once((!is_dir(__DIR__ . '/../vendor')) ? getcwd() : (__DIR__ . '/..')) . '/vendor/autoload.php'; // 适配 Windows 的 conhost 中文显示,因为使用 micro 打包框架运行的时候在 Windows 运行中文部分会变成乱码