Skip to content

Commit

Permalink
Use db driver_interface
Browse files Browse the repository at this point in the history
  • Loading branch information
iMattPro committed Jun 23, 2014
1 parent 4b656eb commit 2232b75
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions controller/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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;
Expand Down

0 comments on commit 2232b75

Please sign in to comment.