@@ -25,7 +25,7 @@ |
||
25 | 25 | public function runQueryDebugger($log = true, $terminal = false) |
26 | 26 | { |
27 | 27 | if (Config::get('database.query_debugging')) { |
28 | - DB::listen(function ($event) use ($terminal, $log) { |
|
28 | + DB::listen(function($event) use ($terminal, $log) { |
|
29 | 29 | $fullQuery = vsprintf(str_replace(['%', '?'], ['%%', '%s'], $event->sql), $event->bindings); |
30 | 30 | |
31 | 31 | $text = $event->connectionName . ' (' . $event->time . '): ' . $fullQuery; |