1
0
mirror of synced 2025-01-19 06:51:40 +03:00

E_STRICT fix

This commit is contained in:
zYne 2006-12-04 23:01:35 +00:00
parent 20d91125a3
commit 3596642de4
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class Doctrine_Export extends Doctrine_Connection_Module {
* @param string $start start value of the sequence; default is 1 * @param string $start start value of the sequence; default is 1
* @return void * @return void
*/ */
public function createSequence($seqName, $start = 1) { public function createSequence($seqName, $seqcolName, $start = 1) {
throw new Doctrine_Export_Exception('Create sequence not supported by this driver.'); throw new Doctrine_Export_Exception('Create sequence not supported by this driver.');
} }

View File

@ -222,7 +222,7 @@ class Doctrine_Export_Mysql extends Doctrine_Export {
* actually perform them otherwise. * actually perform them otherwise.
* @return boolean * @return boolean
*/ */
public function alterTable($name, $changes, $check) { public function alterTable($name, array $changes, $check) {
if( ! $name) if( ! $name)
throw new Doctrine_Export_Mysql_Exception('no valid table name specified'); throw new Doctrine_Export_Mysql_Exception('no valid table name specified');