Completed
Push — master ( f745f1...d70d44 )
by Mahmoud
03:16
created
app/Containers/Debugger/Tasks/QueryDebuggerTask.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.