mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14168] Correctly state return type of upload and upload_attachment
PHPBB3-14168
This commit is contained in:
parent
49312f05f8
commit
bb2634b5e5
3 changed files with 3 additions and 3 deletions
|
@ -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 bool $is_message Whether it is a PM or not
|
||||||
* @param array $local_filedata A filespec object created for the local file
|
* @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)
|
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 bool $is_message Whether it is a PM or not
|
||||||
* @param array $local_filedata An file data object created for the local file
|
* @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 = [])
|
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 bool $is_message Whether it is a PM or not
|
||||||
* @param array $local_filedata An file data object created for the local file
|
* @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())
|
public function upload($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false, $local_filedata = array())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue