diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-03-17 13:29:35 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-01 19:17:41 +0200 |
commit | 11a9104b8a50cbc62cba0c242dee554b5209a327 (patch) | |
tree | 2f1b6ab886a7c76f21a98faf1d46d13c84c951a4 /phpBB/phpbb/content_visibility.php | |
parent | 1f28451d587aa3566cdb6f7848439d2d5efdf820 (diff) | |
download | forums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar forums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar.gz forums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar.bz2 forums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar.xz forums-11a9104b8a50cbc62cba0c242dee554b5209a327.zip |
[ticket/12282] Use interface for type hinting
PHPBB3-12282
Diffstat (limited to 'phpBB/phpbb/content_visibility.php')
-rw-r--r-- | phpBB/phpbb/content_visibility.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php index f18ee0fd73..f3db37e478 100644 --- a/phpBB/phpbb/content_visibility.php +++ b/phpBB/phpbb/content_visibility.php @@ -18,7 +18,7 @@ class content_visibility { /** * Database object - * @var \phpbb\db\driver\driver + * @var \phpbb\db\driver\driver_interface */ protected $db; @@ -50,13 +50,13 @@ class content_visibility * Constructor * * @param \phpbb\auth\auth $auth Auth object - * @param \phpbb\db\driver\driver $db Database object + * @param \phpbb\db\driver\driver_interface $db Database object * @param \phpbb\user $user User object * @param string $phpbb_root_path Root path * @param string $php_ext PHP Extension * @return null */ - public function __construct(\phpbb\auth\auth $auth, \phpbb\db\driver\driver $db, \phpbb\user $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table) + public function __construct(\phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db, \phpbb\user $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table) { $this->auth = $auth; $this->db = $db; |