diff options
| author | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-01-03 11:39:29 +0100 |
|---|---|---|
| committer | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-01-12 20:19:07 +0100 |
| commit | b5544b2f471ce4c93b08d19919ab062725545ce8 (patch) | |
| tree | b78ad7979818490cfe3e2b1a7371bc84481b9e23 /phpBB/viewtopic.php | |
| parent | ef1be6e247cf01a99e68ec85600a80fd62ca9a75 (diff) | |
| download | forums-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/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 5f897e8d94..6ea9bc611e 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -48,6 +48,7 @@ $sort_dir = request_var('sd', $default_sort_dir); $update = request_var('update', false); +/* @var $pagination \phpbb\pagination */ $pagination = $phpbb_container->get('pagination'); $s_can_vote = false; @@ -62,6 +63,7 @@ if (!$topic_id && !$post_id) trigger_error('NO_TOPIC'); } +/* @var $phpbb_content_visibility \phpbb\content_visibility */ $phpbb_content_visibility = $phpbb_container->get('content.visibility'); // Find topic id if user requested a newer or older topic @@ -1314,6 +1316,7 @@ $db->sql_freeresult($result); // Load custom profile fields if ($config['load_cpf_viewtopic']) { + /* @var $cp \phpbb\profilefields\manager */ $cp = $phpbb_container->get('profilefields.manager'); // Grab all profile fields from users in id cache for later use - similar to the poster cache |
