From: Gunnar Wrobel
Date: Tue, 29 Sep 2009 17:46:03 +0000 (+0200) Subject: Fix signatures for strict mode testing. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=26aeffa538da76a6ae05d4378dc773d0ee514e38;p=horde.git Fix signatures for strict mode testing. --- 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'); }