@@ -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; |
@@ -44,6 +44,6 @@ |
||
44 | 44 | $router->post('admins/create', [ |
45 | 45 | 'uses' => 'Controller@createAdmin', |
46 | 46 | 'middleware' => [ |
47 | - 'api.auth', |
|
47 | + 'api.auth', |
|
48 | 48 | ], |
49 | 49 | ]); |