Skip to content

Commit

Permalink
Merge pull request #16 from VSEphpbb/updates/fixes
Browse files Browse the repository at this point in the history
Use db driver_interface
  • Loading branch information
EXreaction committed Jun 23, 2014
2 parents 4b656eb + 2232b75 commit 9669d76
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 9669d76

Please sign in to comment.