mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
[ticket/14168] Correctly state return type of upload and upload_attachment
PHPBB3-14168
This commit is contained in:
parent
49312f05f8
commit
bb2634b5e5
@ -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)
|
||||
{
|
||||
|
@ -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 = [])
|
||||
{
|
||||
|
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user