Completed
Push — develop ( ab0470...4a7a74 )
by Christopher
14:44
created
src/Connection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $this->checkParam($config);
83 83
 
84 84
         try {
85
-            $db = new PDO("mysql:host=".$config['host'].";dbname=".$config['database'], $config['user'], $config['password']);
85
+            $db = new PDO("mysql:host=" . $config['host'] . ";dbname=" . $config['database'], $config['user'], $config['password']);
86 86
         } catch (PDOException $e) {
87 87
             throw new PotatoException($e->getMessage());
88 88
         }
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     public function connectSQLite($config)
94 94
     {
95 95
         try {
96
-            $db =  new PDO("sqlite:".$config['database']);
96
+            $db = new PDO("sqlite:" . $config['database']);
97 97
         } catch (PDOException $e) {
98 98
             throw new PotatoException($e->getMessage());
99 99
         }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         $this->checkParam($config);
111 111
 
112 112
         try {
113
-            $db = new PDO("mssql:host=".$config['host'].";dbname=".$config['database'].", ".$config['user'].", ".$config['password']);
113
+            $db = new PDO("mssql:host=" . $config['host'] . ";dbname=" . $config['database'] . ", " . $config['user'] . ", " . $config['password']);
114 114
         } catch (PDOException $e) {
115 115
             throw new PotatoException($e->getMessage());
116 116
         }
Please login to merge, or discard this patch.