Passed
Pull Request — master (#5)
by Breno
01:56
created
lib/ConnectionManager.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@  discard block
 block discarded – undo
100 100
             $default = $this->Config->getDefault();
101 101
 
102 102
             $name = is_null($default) ?
103
-                @end(array_keys($configs)) :
104
-                $this->Config->getDefault();
103
+                @end(array_keys($configs)) : $this->Config->getDefault();
105 104
 
106 105
             self::open($name);
107 106
         }
@@ -132,7 +131,7 @@  discard block
 block discarded – undo
132 131
                 } catch (\Exception $e) {
133 132
                     throw $e;
134 133
                 }
135
-            } else {
134
+            }else {
136 135
 
137 136
                 throw new \Exception("This connection isn't actived.");
138 137
             }
Please login to merge, or discard this patch.