@@ -77,13 +77,13 @@ discard block |
||
| 77 | 77 | $sql[] = 'TEMPORARY'; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - $sql[] = 'TABLE' ; |
|
| 80 | + $sql[] = 'TABLE'; |
|
| 81 | 81 | |
| 82 | 82 | if($ifNotExists){ |
| 83 | - $sql[] = 'IF NOT EXISTS' ; |
|
| 83 | + $sql[] = 'IF NOT EXISTS'; |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | - $sql[] = $this->quote($table); |
|
| 86 | + $sql[] = $this->quote($table); |
|
| 87 | 87 | |
| 88 | 88 | if(!empty($cols)){ |
| 89 | 89 | $sql[] = '('; |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | if(!empty($primaryKey)){ |
| 93 | 93 | $sql[] = ', PRIMARY KEY ('; |
| 94 | 94 | $sql[] = $this->quote($primaryKey); |
| 95 | - $sql[] = ')'; |
|
| 95 | + $sql[] = ')'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | $sql[] = ')'; |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | 'MEDIUMTEXT', 'LONGBLOB', 'LONGTEXT', 'SERIAL', 'BOOLEAN', 'UUID']; |
| 128 | 128 | |
| 129 | 129 | $field[] = (is_int($length) || (is_string($length) && count(explode(',', $length)) === 2)) && !in_array($type, $nolengthtypes, true) |
| 130 | - ? $type.'('. $length . ')' |
|
| 130 | + ? $type.'('.$length.')' |
|
| 131 | 131 | : $type; |
| 132 | 132 | |
| 133 | 133 | if($attribute){ |