From 03832269b878a136d6c72b74764bfe286bb7e20f Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Thu, 21 Nov 2024 11:19:56 +0700 Subject: [PATCH] fix: run cs --- app/Config/Kint.php | 1 - system/CodeIgniter.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Config/Kint.php b/app/Config/Kint.php index 6a987e886507..931ad47f5fe4 100644 --- a/app/Config/Kint.php +++ b/app/Config/Kint.php @@ -3,7 +3,6 @@ namespace Config; use Kint\Parser\ConstructablePluginInterface; -use Kint\Renderer\AbstractRenderer; use Kint\Renderer\Rich\TabPluginInterface; use Kint\Renderer\Rich\ValuePluginInterface; diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php index bb68c33f0760..8ff5d2ae5b9b 100644 --- a/system/CodeIgniter.php +++ b/system/CodeIgniter.php @@ -294,7 +294,7 @@ private function configureKint(): void RichRenderer::$theme = $config->richTheme; RichRenderer::$folder = $config->richFolder; - RichRenderer::$sort = $config->richSort; + if (isset($config->richObjectPlugins) && is_array($config->richObjectPlugins)) { RichRenderer::$value_plugins = $config->richObjectPlugins; }