Skip to content

Commit

Permalink
Merge pull request #51 from lonnieezell/ci-4.4-fix
Browse files Browse the repository at this point in the history
fix: Update Toolbar for changes in CI 4.4
  • Loading branch information
michalsn authored Aug 26, 2023
2 parents 9a5dfce + b0fa9a1 commit afa7ffa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Debug/Toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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'],
Expand Down

0 comments on commit afa7ffa

Please sign in to comment.