@@ -6,7 +6,7 @@ |
||
6 | 6 | * |
7 | 7 | * @return bool |
8 | 8 | */ |
9 | -return function () { |
|
9 | +return function() { |
|
10 | 10 | $files = [ |
11 | 11 | __DIR__ . '/../../../autoload.php', // composer dependency |
12 | 12 | __DIR__ . '/../vendor/autoload.php', // stand-alone package |
@@ -1311,7 +1311,7 @@ discard block |
||
1311 | 1311 | $def .= '(' . $sqlType['limit'] . ')'; |
1312 | 1312 | } |
1313 | 1313 | if (($values = $column->getValues()) && is_array($values)) { |
1314 | - $def .= "(" . implode(", ", array_map(function ($value) { |
|
1314 | + $def .= "(" . implode(", ", array_map(function($value) { |
|
1315 | 1315 | // we special case NULL as it's not actually allowed an enum value, |
1316 | 1316 | // and we want MySQL to issue an error on the create statement, but |
1317 | 1317 | // quote coerces it to an empty string, which will not error |
@@ -1382,7 +1382,7 @@ discard block |
||
1382 | 1382 | if (!empty($columnNames)) { |
1383 | 1383 | foreach ($columnNames as $key => $value) { |
1384 | 1384 | $loc = array_search($key, $columnNames); |
1385 | - $columnNames[$key] = is_array($order) && array_key_exists($value, $order) ? sprintf('`%s` %s', $value, $order[$value]) : sprintf('`%s`', $value); |
|
1385 | + $columnNames[$key] = is_array($order) && array_key_exists($value, $order) ? sprintf('`%s` %s', $value, $order[$value]) : sprintf('`%s`', $value); |
|
1386 | 1386 | } |
1387 | 1387 | } |
1388 | 1388 |