Completed
Push — master ( 916ec1...b80e24 )
by Marcin
11:36
created
src/Providers/ServiceProvider.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.