aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-03 11:39:29 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-01-12 20:19:07 +0100
commitb5544b2f471ce4c93b08d19919ab062725545ce8 (patch)
treeb78ad7979818490cfe3e2b1a7371bc84481b9e23 /phpBB/includes/functions_display.php
parentef1be6e247cf01a99e68ec85600a80fd62ca9a75 (diff)
downloadforums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.gz
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.bz2
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.xz
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.zip
[ticket/13450] Type-hint return value of $phpbb_container->get()
PHPBB3-13450
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 31cf43e599..2810a23c05 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -153,6 +153,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
$forum_tracking_info = array();
$branch_root_id = $root_data['forum_id'];
+ /* @var $phpbb_content_visibility \phpbb\content_visibility */
$phpbb_content_visibility = $phpbb_container->get('content.visibility');
while ($row = $db->sql_fetchrow($result))
@@ -1134,6 +1135,7 @@ function display_user_activity(&$userdata)
$active_f_row = $active_t_row = array();
if (!empty($forum_ary))
{
+ /* @var $phpbb_content_visibility \phpbb\content_visibility */
$phpbb_content_visibility = $phpbb_container->get('content.visibility');
// Obtain active forum