diff --git a/src/Debug/Toolbar.php b/src/Debug/Toolbar.php index 99e1ea0..fe998eb 100644 --- a/src/Debug/Toolbar.php +++ b/src/Debug/Toolbar.php @@ -11,6 +11,7 @@ use Kint\Kint; use Michalsn\CodeIgniterHtmx\HTTP\IncomingRequest; use Michalsn\CodeIgniterHtmx\HTTP\Response; +use Config\Toolbar as ToolbarConfig; class Toolbar extends BaseToolbar { @@ -36,7 +37,7 @@ public function prepare(?RequestInterface $request = null, ?ResponseInterface $r return; } - $toolbar = Services::toolbar(config(self::class)); + $toolbar = Services::toolbar(config(ToolbarConfig::class)); $stats = $app->getPerformanceStats(); $data = $toolbar->run( $stats['startTime'],