Skip to content

Commit

Permalink
fix: wrong Config classname to config()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jul 25, 2023
1 parent 6808cc3 commit 246eba4
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 246eba4

Please sign in to comment.