@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | $rawColumns = $result->fetchAll(\PDO::FETCH_ASSOC); |
| 58 | 58 | |
| 59 | 59 | if (count($rawColumns) === 0) { |
| 60 | - throw new Exception('Unknown table ' . $table); |
|
| 60 | + throw new Exception('Unknown table ' . $table); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | $cols = []; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | $hasDefault = true; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - $cols[] = new Column( |
|
| 76 | + $cols[] = new Column( |
|
| 77 | 77 | $rawColumn['name'], |
| 78 | 78 | new $class, |
| 79 | 79 | $hasDefault, |