aboutsummaryrefslogtreecommitdiff
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/viewonline.php
parentMerge branch 'develop-ascraeus' into develop (diff)
downloadphpbb-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.gz
phpbb-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.bz2
phpbb-b5544b2f471ce4c93b08d19919ab062725545ce8.zip
[ticket/13450] Type-hint return value of $phpbb_container->get()
PHPBB3-13450
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 9589fb54e2..ad8bdac91b 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -43,7 +43,10 @@ if (!$auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel'))
login_box('', $user->lang['LOGIN_EXPLAIN_VIEWONLINE']);
}
+/* @var $pagination \phpbb\pagination */
$pagination = $phpbb_container->get('pagination');
+
+/* @var $viewonline_helper \phpbb\viewonline_helper */
$viewonline_helper = $phpbb_container->get('viewonline_helper');
$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'b' => $user->lang['SORT_JOINED'], 'c' => $user->lang['SORT_LOCATION']);