mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/12557] Fix doc block errors found by Sami
PHPBB3-12557
This commit is contained in:
@@ -766,7 +766,8 @@ class acp_modules
|
||||
/**
|
||||
* Update/Add module
|
||||
*
|
||||
* @param bool $run_inline if set to true errors will be returned and no logs being written
|
||||
* @param array &$module_data The module data
|
||||
* @param bool $run_inline if set to true errors will be returned and no logs being written
|
||||
*/
|
||||
function update_module_data(&$module_data, $run_inline = false)
|
||||
{
|
||||
|
@@ -46,8 +46,9 @@ class diff
|
||||
/**
|
||||
* Computes diffs between sequences of strings.
|
||||
*
|
||||
* @param array $from_lines An array of strings. Typically these are lines from a file.
|
||||
* @param array $to_lines An array of strings.
|
||||
* @param array $from_lines An array of strings. Typically these are lines from a file.
|
||||
* @param array $to_lines An array of strings.
|
||||
* @param bool $preserve_cr If true, \r is replaced by a new line in the diff output
|
||||
*/
|
||||
function diff(&$from_content, &$to_content, $preserve_cr = true)
|
||||
{
|
||||
@@ -491,9 +492,10 @@ class diff3 extends diff
|
||||
/**
|
||||
* Computes diff between 3 sequences of strings.
|
||||
*
|
||||
* @param array $orig The original lines to use.
|
||||
* @param array $final1 The first version to compare to.
|
||||
* @param array $final2 The second version to compare to.
|
||||
* @param array $orig The original lines to use.
|
||||
* @param array $final1 The first version to compare to.
|
||||
* @param array $final2 The second version to compare to.
|
||||
* @param bool $preserve_cr If true, \r is replaced by a new line in the diff output
|
||||
*/
|
||||
function diff3(&$orig, &$final1, &$final2, $preserve_cr = true)
|
||||
{
|
||||
|
@@ -97,6 +97,7 @@ class filespec
|
||||
*
|
||||
* @param real|unique|unique_ext $mode real creates a realname, filtering some characters, lowering every character. Unique creates an unique filename
|
||||
* @param string $prefix Prefix applied to filename
|
||||
* @param string $user_id The user_id is only needed for when cleaning a user's avatar
|
||||
* @access public
|
||||
*/
|
||||
function clean_filename($mode = 'unique', $prefix = '', $user_id = '')
|
||||
@@ -278,6 +279,7 @@ class filespec
|
||||
*
|
||||
* @param string $destination_path Destination path, for example $config['avatar_path']
|
||||
* @param bool $overwrite If set to true, an already existing file will be overwritten
|
||||
* @param bool $skip_image_check If set to true, the check for the file to be a valid image is skipped
|
||||
* @param string $chmod Permission mask for chmodding the file after a successful move. The mode entered here reflects the mode defined by {@link phpbb_chmod()}
|
||||
*
|
||||
* @access public
|
||||
@@ -498,6 +500,8 @@ class fileupload
|
||||
* @param int $min_height Minimum image height (only checked for images)
|
||||
* @param int $max_width Maximum image width (only checked for images)
|
||||
* @param int $max_height Maximum image height (only checked for images)
|
||||
* @param bool|array $disallowed_content If enabled, the first 256 bytes of the file must not contain any of it's values.
|
||||
* Defaults to false.
|
||||
*
|
||||
*/
|
||||
function fileupload($error_prefix = '', $allowed_extensions = false, $max_filesize = false, $min_width = false, $min_height = false, $max_width = false, $max_height = false, $disallowed_content = false)
|
||||
|
Reference in New Issue
Block a user