@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | $this->publishes($this->getPublished()); |
| 34 | 34 | |
| 35 | 35 | // if no logging is enabled, we can stop here, nothing more should be done |
| 36 | - if (! $this->shouldLogAnything()) { |
|
| 36 | + if (!$this->shouldLogAnything()) { |
|
| 37 | 37 | return; |
| 38 | 38 | } |
| 39 | 39 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $logger = new SqlLogger($this->app, $this->config); |
| 42 | 42 | |
| 43 | 43 | // listen to database queries |
| 44 | - $this->app['db']->listen(function ( |
|
| 44 | + $this->app['db']->listen(function( |
|
| 45 | 45 | $query, |
| 46 | 46 | $bindings = null, |
| 47 | 47 | $time = null |
@@ -60,8 +60,7 @@ discard block |
||
| 60 | 60 | return [ |
| 61 | 61 | realpath(__DIR__ . |
| 62 | 62 | '/../../publish/config/sql_logger.php') => (function_exists('config_path') ? |
| 63 | - config_path('sql_logger.php') : |
|
| 64 | - base_path('config/sql_logger.php')), |
|
| 63 | + config_path('sql_logger.php') : base_path('config/sql_logger.php')), |
|
| 65 | 64 | ]; |
| 66 | 65 | } |
| 67 | 66 | |