diff --git a/app/Config/Kint.php b/app/Config/Kint.php index cc8b54592b6b..36232446889b 100644 --- a/app/Config/Kint.php +++ b/app/Config/Kint.php @@ -2,7 +2,6 @@ namespace Config; -use CodeIgniter\Config\BaseConfig; use Kint\Parser\ConstructablePluginInterface; use Kint\Renderer\AbstractRenderer; use Kint\Renderer\Rich\TabPluginInterface; @@ -18,7 +17,7 @@ * * @see https://kint-php.github.io/kint/ for details on these settings. */ -class Kint extends BaseConfig +class Kint { /* |-------------------------------------------------------------------------- diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php index 22f86b5d4c7e..15ca7f81ad18 100644 --- a/system/CodeIgniter.php +++ b/system/CodeIgniter.php @@ -296,7 +296,7 @@ private function autoloadKint(): void private function configureKint(): void { - $config = config(KintConfig::class); + $config = new KintConfig(); Kint::$depth_limit = $config->maxDepth; Kint::$display_called_from = $config->displayCalledFrom;