Completed
Push — master ( b789e9...4dfee6 )
by Matteo
02:19
created
src/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
 
174 174
     public function setLastConnection($id)
175 175
     {
176
-        uksort($this->connections, function ($a, $b) use ($id) {
176
+        uksort($this->connections, function($a, $b) use ($id) {
177 177
             if ($a === $id) return 1;
178 178
             if ($b === $id) return -1;
179 179
             return 0;
Please login to merge, or discard this patch.
src/Bridge.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
     public function connect($server = null, $username = null, $password = null, $newLink = false, $clientFlags = 0)
48 48
     {
49
-        if ($server   === null) $server   = ini_get("mysql.default_host");
49
+        if ($server === null) $server   = ini_get("mysql.default_host");
50 50
         if ($username === null) $username = ini_get("mysql.default_user");
51 51
         if ($password === null) $password = ini_get("mysql.default_password");
52 52
 
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 
283 283
         $escaped = $connection->quote($unescapedString);
284 284
         // Hack!
285
-        if ($escaped[0] === "'" && $escaped[strlen($escaped)-1] === "'") {
285
+        if ($escaped[0] === "'" && $escaped[strlen($escaped) - 1] === "'") {
286 286
             return substr($escaped, 1, -1);
287 287
         }
288 288
 
Please login to merge, or discard this patch.