@@ -24,7 +24,7 @@ |
||
24 | 24 | public function run($log = true, $terminal = false) |
25 | 25 | { |
26 | 26 | if (Config::get('debugger.queries.debug')) { |
27 | - DB::listen(function ($event) use ($terminal, $log) { |
|
27 | + DB::listen(function($event) use ($terminal, $log) { |
|
28 | 28 | $fullQuery = vsprintf(str_replace(['%', '?'], ['%%', '%s'], $event->sql), $event->bindings); |
29 | 29 | |
30 | 30 | $text = $event->connectionName . ' (' . $event->time . '): ' . $fullQuery; |
@@ -30,7 +30,7 @@ |
||
30 | 30 | private function registerMiddlewareGroups(array $middlewareGroups = []) |
31 | 31 | { |
32 | 32 | foreach ($middlewareGroups as $key => $middleware) { |
33 | - if($middleware){ |
|
33 | + if ($middleware) { |
|
34 | 34 | $this->app['router']->middlewareGroup($key, $middleware); |
35 | 35 | } |
36 | 36 | } |