From 2232b7582d21ece4a33f1975c62dbb63e6a6d412 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 23 Jun 2014 08:59:37 -0700 Subject: [PATCH] Use db driver_interface --- controller/controller.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/controller/controller.php b/controller/controller.php index 03f6d41..67cc750 100644 --- a/controller/controller.php +++ b/controller/controller.php @@ -15,7 +15,7 @@ class controller /** @var \phpbb\config\db_text */ protected $config_text; - /** @var \phpbb\db\driver\driver */ + /** @var \phpbb\db\driver\driver_interface */ protected $db; /** @var \phpbb\controller\helper */ @@ -30,15 +30,15 @@ class controller /** * Constructor * - * @param \phpbb\config\db_text $config_text DB text object - * @param \phpbb\db\driver\driver $db Database object - * @param \phpbb\controller\helper $helper Controller helper object - * @param \phpbb\request\request $request Request object - * @param \phpbb\user $user User object + * @param \phpbb\config\db_text $config_text DB text object + * @param \phpbb\db\driver\driver_interface $db Database object + * @param \phpbb\controller\helper $helper Controller helper object + * @param \phpbb\request\request $request Request object + * @param \phpbb\user $user User object * @return \phpbb\boardannouncements\controller\controller * @access public */ - public function __construct(\phpbb\config\db_text $config_text, \phpbb\db\driver\driver $db, \phpbb\controller\helper $helper, \phpbb\request\request $request, \phpbb\user $user) + public function __construct(\phpbb\config\db_text $config_text, \phpbb\db\driver\driver_interface $db, \phpbb\controller\helper $helper, \phpbb\request\request $request, \phpbb\user $user) { $this->config_text = $config_text; $this->db = $db;