@@ -19,7 +19,6 @@ |
||
19 | 19 | * Write the DB queries in the Log and Display them in the |
20 | 20 | * terminal (in case you want to see them while executing the tests). |
21 | 21 | * |
22 | - * @param bool|false $terminal |
|
23 | 22 | */ |
24 | 23 | public function run() |
25 | 24 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | $consoleOutputEnabled = Config::get('debugger.queries.output.console'); |
31 | 31 | $logOutputEnabled = Config::get('debugger.queries.output.log'); |
32 | 32 | |
33 | - DB::listen(function ($event) use ($consoleOutputEnabled, $logOutputEnabled) { |
|
33 | + DB::listen(function($event) use ($consoleOutputEnabled, $logOutputEnabled) { |
|
34 | 34 | $fullQuery = vsprintf(str_replace(['%', '?'], ['%%', '%s'], $event->sql), $event->bindings); |
35 | 35 | |
36 | 36 | $result = $event->connectionName . ' (' . $event->time . '): ' . $fullQuery; |