From 2bd716582c912075e38036f896a2b45e64bf858d Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 20 Jul 2023 16:50:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Application=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 +- src/Application.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index bf4fe1b..5b89dd8 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "require": { "workerman/workerman": "^3.5.23", "workerman/gateway-worker": "^3.0.0", - "topthink/framework": "^6.0|^8.0", + "topthink/framework": "^8.0", "ext-fileinfo": "*" }, "autoload": { diff --git a/src/Application.php b/src/Application.php index cc46e9e..0259947 100644 --- a/src/Application.php +++ b/src/Application.php @@ -76,7 +76,7 @@ public function worker($connection) * 是否运行在命令行下 * @return bool */ - public function runningInConsole() + public function runningInConsole(): bool { return false; }