From 246eba4c6f245d2c0f1813e806ebcee36d558b60 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 25 Jul 2023 13:56:29 +0900 Subject: [PATCH] fix: wrong Config classname to config() --- system/Debug/Toolbar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Debug/Toolbar.php b/system/Debug/Toolbar.php index 17e67aa8eb94..f00ad09bd122 100644 --- a/system/Debug/Toolbar.php +++ b/system/Debug/Toolbar.php @@ -365,7 +365,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'],