mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/14168] Correctly state return type of upload and upload_attachment
PHPBB3-14168
This commit is contained in:
@@ -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())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user