Commit 6ea281f1 authored by zYne's avatar zYne

fixed E_STRICT issues

parent 6d8003c3
...@@ -157,4 +157,6 @@ class Doctrine_Adapter_Mock implements Doctrine_Adapter_Interface, Countable ...@@ -157,4 +157,6 @@ class Doctrine_Adapter_Mock implements Doctrine_Adapter_Interface, Countable
{ {
} }
public function sqliteCreateFunction()
{ }
} }
...@@ -203,7 +203,7 @@ END; ...@@ -203,7 +203,7 @@ END;
* *
* @return void * @return void
*/ */
public function createTable($name, $fields, $options = array()) public function createTable($name, array $fields, array $options = array())
{ {
$this->conn->beginTransaction(); $this->conn->beginTransaction();
......
...@@ -72,7 +72,7 @@ class Doctrine_Expression_Mssql extends Doctrine_Expression ...@@ -72,7 +72,7 @@ class Doctrine_Expression_Mssql extends Doctrine_Expression
* @param string $values... * @param string $values...
* @return string to concatenate two strings * @return string to concatenate two strings
*/ */
public function concat($arg1, $arg2) public function concat()
{ {
$args = func_get_args(); $args = func_get_args();
return '(' . implode(' + ', $args) . ')'; return '(' . implode(' + ', $args) . ')';
......
...@@ -37,7 +37,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import ...@@ -37,7 +37,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
* *
* @return array data array * @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'; $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 ...@@ -71,7 +71,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
* *
* @return array data array containing all database views * @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'); return $this->conn->fetchColumn('SELECT DISTINCT RDB$VIEW_NAME FROM RDB$VIEW_RELATIONS');
} }
...@@ -108,7 +108,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import ...@@ -108,7 +108,7 @@ class Doctrine_Import_Firebird extends Doctrine_Import
* previous database to query against. * previous database to query against.
* @return array data array containing all triggers for given table * @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'; $query = 'SELECT RDB$TRIGGER_NAME FROM RDB$TRIGGERS WHERE RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0';
......
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