diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2015-01-14 12:34:28 +0100 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2015-01-14 12:34:28 +0100 |
| commit | 98937a7a18dc605c6d3bb8a3f20f124ec71e058a (patch) | |
| tree | 188b7b5c0741a7fd5ea54d322b9f394a21c1fe28 /phpBB/posting.php | |
| parent | 853733a0eb04f917fe3195ed9f36cfcf643deffd (diff) | |
| parent | b5544b2f471ce4c93b08d19919ab062725545ce8 (diff) | |
| download | forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar.gz forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar.bz2 forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar.xz forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.zip | |
Merge pull request #3289 from MGaetan89/ticket/13450
[ticket/13450] Type-hint return value of $phpbb_container->get()
* MGaetan89/ticket/13450:
[ticket/13450] Type-hint return value of $phpbb_container->get()
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 ac412c0c73..0f2ea303ea 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); |
