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/includes/functions_admin.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/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index b016659541..cfd5aaa0c5 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -715,6 +715,7 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s set_config_count('num_topics', $approved_topics * (-1), true); } + /* @var $phpbb_notifications \phpbb\notification\manager */ $phpbb_notifications = $phpbb_container->get('notification_manager'); $phpbb_notifications->delete_notifications(array( @@ -979,6 +980,7 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync = delete_topics('topic_id', $remove_topics, $auto_sync, $post_count_sync, false); } + /* @var $phpbb_notifications \phpbb\notification\manager */ $phpbb_notifications = $phpbb_container->get('notification_manager'); $phpbb_notifications->delete_notifications($delete_notifications_types, $post_ids); @@ -3005,6 +3007,7 @@ function get_remote_file($host, $directory, $filename, &$errstr, &$errno, $port global $phpbb_container; // Get file downloader and assign $errstr and $errno + /* @var $file_downloader \phpbb\file_downloader */ $file_downloader = $phpbb_container->get('file_downloader'); $file_data = $file_downloader->get($host, $directory, $filename, $port, $timeout); |