@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | { |
| 38 | 38 | $columns = []; |
| 39 | 39 | |
| 40 | - $query = $this->pdo->prepare('PRAGMA table_info("' . $table . '");'); |
|
| 40 | + $query = $this->pdo->prepare('PRAGMA table_info("'.$table.'");'); |
|
| 41 | 41 | |
| 42 | 42 | $query->setFetchMode(\PDO::FETCH_OBJ)->execute(); |
| 43 | 43 | |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | array_push($columns, $column); |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - $query = $this->pdo->prepare('PRAGMA foreign_key_list("' . $table . '");'); |
|
| 56 | + $query = $this->pdo->prepare('PRAGMA foreign_key_list("'.$table.'");'); |
|
| 57 | 57 | |
| 58 | 58 | $query->setFetchMode(\PDO::FETCH_OBJ)->execute(); |
| 59 | 59 | |
@@ -113,9 +113,9 @@ discard block |
||
| 113 | 113 | * @param \Rougin\Describe\Column &$column |
| 114 | 114 | * @return void |
| 115 | 115 | */ |
| 116 | - protected function setProperties($row, Column &$column) |
|
| 116 | + protected function setProperties($row, Column & $column) |
|
| 117 | 117 | { |
| 118 | - if (! $row->notnull) { |
|
| 118 | + if ( ! $row->notnull) { |
|
| 119 | 119 | $column->setNull(true); |
| 120 | 120 | } |
| 121 | 121 | |