Passed
Push — master ( 0c0ad4...4aacc0 )
by Marcin
03:02
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
 
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.