fixed E_STRICT issues
This commit is contained in:
parent
6d8003c32e
commit
6ea281f1d9
@ -157,4 +157,6 @@ class Doctrine_Adapter_Mock implements Doctrine_Adapter_Interface, Countable
|
||||
{
|
||||
|
||||
}
|
||||
public function sqliteCreateFunction()
|
||||
{ }
|
||||
}
|
||||
|
@ -203,7 +203,7 @@ END;
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function createTable($name, $fields, $options = array())
|
||||
public function createTable($name, array $fields, array $options = array())
|
||||
{
|
||||
$this->conn->beginTransaction();
|
||||
|
||||
|
@ -72,7 +72,7 @@ class Doctrine_Expression_Mssql extends Doctrine_Expression
|
||||
* @param string $values...
|
||||
* @return string to concatenate two strings
|
||||
*/
|
||||
public function concat($arg1, $arg2)
|
||||
public function concat()
|
||||
{
|
||||
$args = func_get_args();
|
||||
return '(' . implode(' + ', $args) . ')';
|
||||
|
@ -37,7 +37,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
|
||||
*
|
||||
* @return array data array
|
||||
*/
|
||||
public function listTables()
|
||||
public function listTables($database = null)
|
||||
{
|
||||
$query = 'SELECT RDB$RELATION_NAME FROM RDB$RELATIONS WHERE RDB$SYSTEM_FLAG=0 AND RDB$VIEW_BLR IS NULL';
|
||||
|
||||
@ -71,7 +71,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
|
||||
*
|
||||
* @return array data array containing all database views
|
||||
*/
|
||||
public function listViews()
|
||||
public function listViews($database = null)
|
||||
{
|
||||
return $this->conn->fetchColumn('SELECT DISTINCT RDB$VIEW_NAME FROM RDB$VIEW_RELATIONS');
|
||||
}
|
||||
@ -108,7 +108,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
|
||||
* previous database to query against.
|
||||
* @return array data array containing all triggers for given table
|
||||
*/
|
||||
public function listTableTriggers($table = null)
|
||||
public function listTableTriggers($table)
|
||||
{
|
||||
$query = 'SELECT RDB$TRIGGER_NAME FROM RDB$TRIGGERS WHERE RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user