From bb6a512c78b9a874fd598e0b210f34d9c0658e06 Mon Sep 17 00:00:00 2001 From: guandeng Date: Fri, 8 Dec 2023 14:40:10 +0800 Subject: [PATCH] Set telescope enable default to false (#485) --- src/SwitchManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SwitchManager.php b/src/SwitchManager.php index badad37..e9a0797 100644 --- a/src/SwitchManager.php +++ b/src/SwitchManager.php @@ -21,6 +21,6 @@ public function __construct(protected ConfigInterface $config) public function isEnable(string $key): bool { - return (bool) $this->config->get("telescope.enable.{$key}", true); + return (bool) $this->config->get("telescope.enable.{$key}", false); } }