From 6477942f80090a7f3d194197765ca1217a7aab87 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 15 Aug 2023 11:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/think/log/Channel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/think/log/Channel.php b/src/think/log/Channel.php index f1f9a717b5..3c524d0127 100644 --- a/src/think/log/Channel.php +++ b/src/think/log/Channel.php @@ -32,11 +32,11 @@ class Channel implements LoggerInterface /** * 关闭日志 - * @var array + * @var bool */ protected $close = false; - public function __construct(protected string $name, protected LogHandlerInterface $logger, protected array $allow = [], protected bool $lazy = true, protected Event $event = null) + public function __construct(protected string $name, protected LogHandlerInterface $logger, protected array $allow, protected bool $lazy, protected Event $event) { }