diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-10-12 12:11:26 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-10-12 12:11:26 +0200 |
commit | bb2634b5e5bdee53118eff8cdba3fea73932ff47 (patch) | |
tree | 98b0660bebc3e566105d563988ec7d81e88cc385 | |
parent | 49312f05f88ca58346cbb00c2f03f01fd2a3d56d (diff) | |
download | forums-bb2634b5e5bdee53118eff8cdba3fea73932ff47.tar forums-bb2634b5e5bdee53118eff8cdba3fea73932ff47.tar.gz forums-bb2634b5e5bdee53118eff8cdba3fea73932ff47.tar.bz2 forums-bb2634b5e5bdee53118eff8cdba3fea73932ff47.tar.xz forums-bb2634b5e5bdee53118eff8cdba3fea73932ff47.zip |
[ticket/14168] Correctly state return type of upload and upload_attachment
PHPBB3-14168
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/attachment/manager.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/attachment/upload.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 297ac80170..2bd30a383f 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -400,7 +400,7 @@ function posting_gen_topic_types($forum_id, $cur_topic_type = POST_NORMAL) * @param bool $is_message Whether it is a PM or not * @param array $local_filedata A filespec object created for the local file * -* @return \phpbb\files\filespec +* @return array File data array */ function upload_attachment($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false, $local_filedata = false) { diff --git a/phpBB/phpbb/attachment/manager.php b/phpBB/phpbb/attachment/manager.php index 9dcd3c5c92..3c47171b2f 100644 --- a/phpBB/phpbb/attachment/manager.php +++ b/phpBB/phpbb/attachment/manager.php @@ -90,7 +90,7 @@ class manager * @param bool $is_message Whether it is a PM or not * @param array $local_filedata An file data object created for the local file * - * @return object filespec + * @return array File data array */ public function upload($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false, $local_filedata = []) { diff --git a/phpBB/phpbb/attachment/upload.php b/phpBB/phpbb/attachment/upload.php index 2d49e05b71..957558768b 100644 --- a/phpBB/phpbb/attachment/upload.php +++ b/phpBB/phpbb/attachment/upload.php @@ -104,7 +104,7 @@ class upload * @param bool $is_message Whether it is a PM or not * @param array $local_filedata An file data object created for the local file * - * @return object filespec + * @return array File data array */ public function upload($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false, $local_filedata = array()) { |