Skip to content

Commit

Permalink
chore: rename changed property names in Kint
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Dec 19, 2021
1 parent 95bad7c commit d542514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ protected function initializeKint()
*/
$config = config('Config\Kint');

Kint::$max_depth = $config->maxDepth;
Kint::$depth_limit = $config->maxDepth;
Kint::$display_called_from = $config->displayCalledFrom;
Kint::$expanded = $config->expanded;

Expand All @@ -261,7 +261,7 @@ protected function initializeKint()
RichRenderer::$folder = $config->richFolder;
RichRenderer::$sort = $config->richSort;
if (! empty($config->richObjectPlugins) && is_array($config->richObjectPlugins)) {
RichRenderer::$object_plugins = $config->richObjectPlugins;
RichRenderer::$value_plugins = $config->richObjectPlugins;
}
if (! empty($config->richTabPlugins) && is_array($config->richTabPlugins)) {
RichRenderer::$tab_plugins = $config->richTabPlugins;
Expand Down

0 comments on commit d542514

Please sign in to comment.