aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/content_visibility.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-02-22 17:01:37 +0100
committerNicofuma <github@nicofuma.fr>2015-02-22 17:01:37 +0100
commit9b5493372d5167baa3c9df66bc1661a7cc7f069d (patch)
tree6ded78d0519e7952bff82736dd891bc36ac5d6cb /phpBB/phpbb/content_visibility.php
parent379eae1a923e563bd1685835a1e913bb75ae1102 (diff)
downloadforums-9b5493372d5167baa3c9df66bc1661a7cc7f069d.tar
forums-9b5493372d5167baa3c9df66bc1661a7cc7f069d.tar.gz
forums-9b5493372d5167baa3c9df66bc1661a7cc7f069d.tar.bz2
forums-9b5493372d5167baa3c9df66bc1661a7cc7f069d.tar.xz
forums-9b5493372d5167baa3c9df66bc1661a7cc7f069d.zip
[ticket/13644] Always type hint dispatch_interface
PHPBB3-13644
Diffstat (limited to 'phpBB/phpbb/content_visibility.php')
-rw-r--r--phpBB/phpbb/content_visibility.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php
index 843881ae41..02338a5c2f 100644
--- a/phpBB/phpbb/content_visibility.php
+++ b/phpBB/phpbb/content_visibility.php
@@ -45,7 +45,7 @@ class content_visibility
/**
* Event dispatcher object
- * @var \phpbb\event\dispatcher
+ * @var \phpbb\event\dispatcher_interface
*/
protected $phpbb_dispatcher;
@@ -66,7 +66,7 @@ class content_visibility
*
* @param \phpbb\auth\auth $auth Auth object
* @param \phpbb\config\config $config Config object
- * @param \phpbb\event\dispatcher $phpbb_dispatcher Event dispatcher object
+ * @param \phpbb\event\dispatcher_interface $phpbb_dispatcher Event dispatcher object
* @param \phpbb\db\driver\driver_interface $db Database object
* @param \phpbb\user $user User object
* @param string $phpbb_root_path Root path
@@ -76,7 +76,7 @@ class content_visibility
* @param string $topics_table Topics table name
* @param string $users_table Users table name
*/
- public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\event\dispatcher $phpbb_dispatcher, \phpbb\db\driver\driver_interface $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\config\config $config, \phpbb\event\dispatcher_interface $phpbb_dispatcher, \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->config = $config;