Skip to content

Commit 2fc1122

Browse files
committed
PHP 7.4 compatibility issue fix: Passing the and parameters in reverse order to implode has been deprecated since PHP 7.4
1 parent d6c2c67 commit 2fc1122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/Export/Mysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ public function createSequence($sequenceName, $start = 1, array $options = array
524524
try {
525525
$query = 'CREATE TABLE ' . $sequenceName
526526
. ' (' . $seqcolName . ' BIGINT NOT NULL AUTO_INCREMENT, PRIMARY KEY ('
527-
. $seqcolName . ')) ' . implode($optionsStrings, ' ');
527+
. $seqcolName . ')) ' . implode(' ', $optionsStrings);
528528

529529
$res = $this->conn->exec($query);
530530
} catch(Doctrine_Connection_Exception $e) {

0 commit comments

Comments
 (0)