From 8dd9455f686f5226e35b23acb583f476ae45470f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 31 Dec 2024 16:58:29 +0000 Subject: [PATCH] Apply fixes from StyleCI --- .../core/src/Admin/Middleware/GatherDebugInformation.php | 2 +- framework/core/src/Foundation/Info/Section/Database.php | 7 +++++++ framework/core/src/Foundation/Info/Section/Webserver.php | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/framework/core/src/Admin/Middleware/GatherDebugInformation.php b/framework/core/src/Admin/Middleware/GatherDebugInformation.php index 2e4dc518b..39096485e 100644 --- a/framework/core/src/Admin/Middleware/GatherDebugInformation.php +++ b/framework/core/src/Admin/Middleware/GatherDebugInformation.php @@ -29,7 +29,7 @@ class GatherDebugInformation implements Middleware $currentUser = get_current_user(); if ($user !== $currentUser) { $this->settings->set( - "core.debug.web_user", + 'core.debug.web_user', $currentUser ); } diff --git a/framework/core/src/Foundation/Info/Section/Database.php b/framework/core/src/Foundation/Info/Section/Database.php index 0d6fa3918..f2c5fa46f 100644 --- a/framework/core/src/Foundation/Info/Section/Database.php +++ b/framework/core/src/Foundation/Info/Section/Database.php @@ -1,5 +1,12 @@