From 058ec6c3b57398a6c8ead75df2a3942fb3ed102d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=96=B7=E5=9A=8F=E6=98=AF=E6=80=9D?= =?UTF-8?q?=E5=BF=B5?= <1035936946@qq.com> Date: Wed, 17 Jun 2026 09:20:09 +0000 Subject: [PATCH] =?UTF-8?q?update=20core/plugin/PluginInstall.php.=20##=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B4=E6=98=8E=201.=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20core/plugin/PluginInstall.php=20=E7=AC=AC101=E8=A1=8C=20log?= =?UTF-8?q?=20=E6=96=B9=E6=B3=95=E5=8F=82=E6=95=B0=E9=9A=90=E5=BC=8F?= =?UTF-8?q?=E5=8F=AF=E7=A9=BA=E5=BA=9F=E5=BC=83=E6=8A=A5=E9=94=99=202.=20?= =?UTF-8?q?=E5=B0=86=20$progress=20=E5=8F=82=E6=95=B0=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=98=BE=E5=BC=8F=20=3Fint=20=E5=8F=AF=E7=A9=BA=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=EF=BC=8C=E5=85=BC=E5=AE=B9PHP8.1~8.4=E5=85=A8?= =?UTF-8?q?=E7=89=88=E6=9C=AC=20##=20=E8=A7=A3=E5=86=B3=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20PHP8.4=E7=8E=AF=E5=A2=83=E5=90=AF=E5=8A=A8webman=E6=8A=9B?= =?UTF-8?q?=E5=87=BAFatal=20Error=EF=BC=8C=E8=BF=9B=E7=A8=8B=E5=8F=8D?= =?UTF-8?q?=E5=A4=8D=E9=87=8D=E5=90=AF=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 一个喷嚏是思念 <1035936946@qq.com> --- core/plugin/PluginInstall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/plugin/PluginInstall.php b/core/plugin/PluginInstall.php index 39d1533..09e7518 100644 --- a/core/plugin/PluginInstall.php +++ b/core/plugin/PluginInstall.php @@ -98,7 +98,7 @@ class PluginInstall /** * 输出日志(CLI 模式 echo,在线模式通过回调) */ - protected function log(string $message, int $progress = null): void + protected function log(string $message, ?int $progress = null): void { if ($this->isOnlineMode && $this->progressCallback) { // 在线模式:通过回调返回进度 -- Gitee