We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adc53c7 commit f8c6da7Copy full SHA for f8c6da7
src/LaravelDebugBar.php
@@ -770,7 +770,7 @@ protected function selectStorage(DebugBar $debugbar)
770
switch ($driver) {
771
case 'pdo':
772
$connection = $config->get('laravel-debugbar::config.storage.connection');
773
- $table = \DB::getTablePrefix() . 'phpdebugbar';
+ $table = $this->app['db']->getTablePrefix() . 'phpdebugbar';
774
$pdo = $this->app['db']->connection($connection)->getPdo();
775
$storage = new PdoStorage($pdo, $table);
776
break;
0 commit comments