Completed
Push — master ( c17d6d...73d9db )
by Ivan
14:59
created
src/driver/oracle/Driver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
                 $this->query("ALTER SESSION SET time_zone = '".addslashes($timezone)."'");
45 45
             }
46 46
             if ($schema = $this->option('schema')) {
47
-                $this->query("ALTER SESSION SET CURRENT_SCHEMA = " . $schema);
47
+                $this->query("ALTER SESSION SET CURRENT_SCHEMA = ".$schema);
48 48
             }
49 49
         }
50 50
     }
@@ -81,11 +81,11 @@  discard block
 block discarded – undo
81 81
         );
82 82
         if ($log) {
83 83
             $tm = microtime(true) - $tm;
84
-            if ($tm >= (float)$this->option('log_slow', 0)) {
84
+            if ($tm >= (float) $this->option('log_slow', 0)) {
85 85
                 @file_put_contents(
86 86
                     $log,
87
-                    '--' . date('Y-m-d H:i:s') . ' ' . sprintf('%01.6f', $tm) . "s\r\n" .
88
-                    $sql . "\r\n" .
87
+                    '--'.date('Y-m-d H:i:s').' '.sprintf('%01.6f', $tm)."s\r\n".
88
+                    $sql."\r\n".
89 89
                     "\r\n",
90 90
                     FILE_APPEND
91 91
                 );
Please login to merge, or discard this patch.