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) { }