Make sure to pass in a string

Not all RDBMS have a concept of database, apparently (see SQLAnywhere).
Those who do not should pass in a string to stay compatible with the
signature.
parent cede6ecc
......@@ -2816,8 +2816,8 @@ abstract class AbstractPlatform
}
/**
* @param string $table
* @param string|null $database
* @param string $table
* @param string $database
*
* @return string
*
......
......@@ -52,7 +52,7 @@ class SQLAnywhere12PlatformTest extends SQLAnywhere11PlatformTest
);
self::assertEquals(
'SELECT sequence_name, increment_by, start_with, min_value FROM SYS.SYSSEQUENCE',
$this->platform->getListSequencesSQL(null)
$this->platform->getListSequencesSQL('')
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment