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/posting.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/posting.php')
| -rw-r--r-- | phpBB/posting.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 10c3b696e6..b6af63038a 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -116,6 +116,7 @@ if (in_array($mode, array('post', 'reply', 'quote', 'edit', 'delete')) && !$foru trigger_error('NO_FORUM'); } +/* @var $phpbb_content_visibility \phpbb\content_visibility */ $phpbb_content_visibility = $phpbb_container->get('content.visibility'); // We need to know some basic information in all cases before we do anything. @@ -561,7 +562,10 @@ if ($mode == 'edit') $orig_poll_options_size = sizeof($post_data['poll_options']); $message_parser = new parse_message(); +/* @var $plupload \phpbb\plupload\plupload */ $plupload = $phpbb_container->get('plupload'); + +/* @var $mimetype_guesser \phpbb\mimetype\guesser */ $mimetype_guesser = $phpbb_container->get('mimetype.guesser'); $message_parser->set_plupload($plupload); $message_parser->set_mimetype_guesser($mimetype_guesser); |
