[DATABASE] Fix deprecated call to implode()

This commit is contained in:
tenma 2020-03-12 17:44:50 +00:00 committed by Diogo Peralta Cordeiro
parent 4a90f281ed
commit d369e807fb

View File

@ -167,7 +167,7 @@ class Schema
// Wrap the CREATE TABLE around the main body chunks... // Wrap the CREATE TABLE around the main body chunks...
$statements = []; $statements = [];
$statements[] = $this->startCreateTable($name, $def) . "\n" . $statements[] = $this->startCreateTable($name, $def) . "\n" .
implode($sql, ",\n") . "\n" . implode(",\n", $sql) . "\n" .
$this->endCreateTable($name, $def); $this->endCreateTable($name, $def);
// Multi-value indexes are advisory and for best portability // Multi-value indexes are advisory and for best portability