@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | $columns = []; |
| 39 | 39 | |
| 40 | 40 | // Gets list of columns |
| 41 | - $query = 'PRAGMA table_info("' . $table . '");'; |
|
| 41 | + $query = 'PRAGMA table_info("'.$table.'");'; |
|
| 42 | 42 | $information = $this->pdo->prepare($query); |
| 43 | 43 | |
| 44 | 44 | $information->execute(); |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | protected function setForeignColumns($tableName, array $columns) |
| 95 | 95 | { |
| 96 | 96 | // Gets list of foreign keys, if any |
| 97 | - $query = 'PRAGMA foreign_key_list("' . $tableName . '");'; |
|
| 97 | + $query = 'PRAGMA foreign_key_list("'.$tableName.'");'; |
|
| 98 | 98 | $table = $this->pdo->prepare($query); |
| 99 | 99 | |
| 100 | 100 | $table->execute(); |
@@ -121,9 +121,9 @@ discard block |
||
| 121 | 121 | * @param \Rougin\Describe\Column &$column |
| 122 | 122 | * @return void |
| 123 | 123 | */ |
| 124 | - protected function setProperties($row, Column &$column) |
|
| 124 | + protected function setProperties($row, Column & $column) |
|
| 125 | 125 | { |
| 126 | - if (! $row->notnull) { |
|
| 126 | + if ( ! $row->notnull) { |
|
| 127 | 127 | $column->setNull(true); |
| 128 | 128 | } |
| 129 | 129 | |