Skip to content

Commit

Permalink
Merge pull request #7735 from kenjis/fix-Toolbar-config
Browse files Browse the repository at this point in the history
fix: wrong Config classname to config() in Toolbar
  • Loading branch information
kenjis committed Jul 25, 2023
2 parents 6808cc3 + 246eba4 commit 5c51240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Debug/Toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 5c51240

Please sign in to comment.