| @@ -126,9 +126,9 @@ discard block | ||
| 126 | 126 | protected function driver($name, $data = array()) | 
| 127 | 127 |      { | 
| 128 | 128 |          if (in_array($name, $this->mysql) === true) { | 
| 129 | - $dsn = 'mysql:host=' . $data['hostname']; | |
| 129 | + $dsn = 'mysql:host='.$data['hostname']; | |
| 130 | 130 | |
| 131 | - $dsn .= ';dbname=' . $data['database']; | |
| 131 | + $dsn .= ';dbname='.$data['database']; | |
| 132 | 132 | |
| 133 | 133 | $pdo = new \PDO($dsn, $data['username'], $data['password']); | 
| 134 | 134 | |
| @@ -141,7 +141,7 @@ discard block | ||
| 141 | 141 | return new SQLiteDriver($pdo); | 
| 142 | 142 | } | 
| 143 | 143 | |
| 144 | - $message = 'Database driver "' . $name . '" not found.'; | |
| 144 | + $message = 'Database driver "'.$name.'" not found.'; | |
| 145 | 145 | |
| 146 | 146 | throw new DriverNotFoundException($message); | 
| 147 | 147 | } | 
| @@ -41,7 +41,7 @@ discard block | ||
| 41 | 41 | */ | 
| 42 | 42 | public function columns($table) | 
| 43 | 43 |      { | 
| 44 | -        return $this->query($table, 'PRAGMA table_info("' . $table . '");'); | |
| 44 | +        return $this->query($table, 'PRAGMA table_info("'.$table.'");'); | |
| 45 | 45 | } | 
| 46 | 46 | |
| 47 | 47 | /** | 
| @@ -118,7 +118,7 @@ discard block | ||
| 118 | 118 | |
| 119 | 119 | $column = $this->reference($table, $column); | 
| 120 | 120 | |
| 121 | - $column->setNull(! $row->notnull); | |
| 121 | + $column->setNull( ! $row->notnull); | |
| 122 | 122 | |
| 123 | 123 | $row->pk && $column->setAutoIncrement(true); | 
| 124 | 124 | |
| @@ -165,7 +165,7 @@ discard block | ||
| 165 | 165 | */ | 
| 166 | 166 | protected function reference($table, Column $column) | 
| 167 | 167 |      { | 
| 168 | -        $query = 'PRAGMA foreign_key_list("' . $table . '");'; | |
| 168 | +        $query = 'PRAGMA foreign_key_list("'.$table.'");'; | |
| 169 | 169 | |
| 170 | 170 | $result = $this->pdo->prepare($query); | 
| 171 | 171 | |