From 26aeffa538da76a6ae05d4378dc773d0ee514e38 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Tue, 29 Sep 2009 19:46:03 +0200 Subject: [PATCH] Fix signatures for strict mode testing. --- framework/History/test/Horde/History/InterfaceTest.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/framework/History/test/Horde/History/InterfaceTest.php b/framework/History/test/Horde/History/InterfaceTest.php index 357517918..b45c0f6d9 100644 --- a/framework/History/test/Horde/History/InterfaceTest.php +++ b/framework/History/test/Horde/History/InterfaceTest.php @@ -550,22 +550,24 @@ EOL; */ class Dummy_Db extends DB_common { - public function query($sql, $values = null) + public function &query($query, $params = array()) { return new PEAR_Error('Error'); } - public function nextId($table) + public function nextId($seq_name, $ondemand = true) { return new PEAR_Error('Error'); } - public function getAll($sql) + public function &getAll($query, $params = array(), + $fetchmode = DB_FETCHMODE_DEFAULT) { return new PEAR_Error('Error'); } - public function getAssoc($sql) + public function &getAssoc($query, $force_array = false, $params = array(), + $fetchmode = DB_FETCHMODE_DEFAULT, $group = false) { return new PEAR_Error('Error'); } -- 2.11.0