@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $columns = []; |
| 37 | 37 | |
| 38 | 38 | // Gets list of columns |
| 39 | - $query = 'PRAGMA table_info("' . $table . '");'; |
|
| 39 | + $query = 'PRAGMA table_info("'.$table.'");'; |
|
| 40 | 40 | $information = $this->pdo->prepare($query); |
| 41 | 41 | |
| 42 | 42 | $information->execute(); |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | while ($row = $information->fetch()) { |
| 46 | 46 | $column = new Column; |
| 47 | 47 | |
| 48 | - if (! $row->notnull) { |
|
| 48 | + if ( ! $row->notnull) { |
|
| 49 | 49 | $column->setNull(true); |
| 50 | 50 | } |
| 51 | 51 | |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | // Gets list of foreign keys |
| 65 | - $query = 'PRAGMA foreign_key_list("' . $table . '");'; |
|
| 65 | + $query = 'PRAGMA foreign_key_list("'.$table.'");'; |
|
| 66 | 66 | $information = $this->pdo->prepare($query); |
| 67 | 67 | |
| 68 | 68 | $information->execute(); |