From 7c05f0b2da7f43ed992e3a2fae89e7ad0a77b4ea Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Tue, 27 Apr 2010 09:00:08 +0200 Subject: [PATCH] Do not type-hint these as a DB_Error is also possible and will cause a fatal error. --- framework/History/lib/Horde/History/Sql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/History/lib/Horde/History/Sql.php b/framework/History/lib/Horde/History/Sql.php index e97cedee6..0ea12e8c0 100644 --- a/framework/History/lib/Horde/History/Sql.php +++ b/framework/History/lib/Horde/History/Sql.php @@ -51,7 +51,7 @@ class Horde_History_Sql extends Horde_History * * @throws Horde_History_Exception */ - public function __construct(DB_common $db) + public function __construct($db) { $this->handleError($db); $this->_write_db = $db; @@ -66,7 +66,7 @@ class Horde_History_Sql extends Horde_History * * @throws Horde_History_Exception */ - public function setReadDb(DB_common $db) + public function setReadDb($db) { $this->handleError($db); $this->_db = $db; -- 2.11.0