@@ -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 | |
@@ -53,8 +53,7 @@ discard block |
||
| 53 | 53 | { |
| 54 | 54 | return [ |
| 55 | 55 | $this->configFileLocation() => (function_exists('config_path') ? |
| 56 | - config_path('sql_logger.php') : |
|
| 57 | - base_path('config/sql_logger.php')), |
|
| 56 | + config_path('sql_logger.php') : base_path('config/sql_logger.php')), |
|
| 58 | 57 | ]; |
| 59 | 58 | } |
| 60 | 59 | |
@@ -87,7 +86,7 @@ discard block |
||
| 87 | 86 | */ |
| 88 | 87 | protected function getListenClosure(SqlLogger $logger) |
| 89 | 88 | { |
| 90 | - return function ($query, $bindings = null, $time = null) use ($logger) { |
|
| 89 | + return function($query, $bindings = null, $time = null) use ($logger) { |
|
| 91 | 90 | $logger->log($query, $bindings, $time); |
| 92 | 91 | }; |
| 93 | 92 | } |