Skip to content

Commit

Permalink
Fixes issue maghead#1
Browse files Browse the repository at this point in the history
  • Loading branch information
jancinert committed Jan 11, 2018
1 parent 7ba7bf1 commit a0770b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Universal/Query/CreateTableQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function engine($engine)

public function column($col)
{
if (gettype($col) == 'string') {
if (is_string($col)) {
$col = new Column($col);
}
$this->columns[] = $col;
Expand Down

0 comments on commit a0770b9

Please sign in to comment.