mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 15:16:16 +02:00
[ticket/12557] Fix doc block errors found by Sami
PHPBB3-12557
This commit is contained in:
parent
6ac8d17af6
commit
95ec9590df
@ -500,8 +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.
|
||||
* @param bool|array $disallowed_content If enabled, the first 256 bytes of the file must not
|
||||
* contain any of its 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)
|
||||
|
@ -209,10 +209,11 @@ class auth
|
||||
/**
|
||||
* Get forums with the specified permission setting
|
||||
*
|
||||
* @param string $opt The permission name to lookup. If it's prefixed with !, then the result becomes negated.
|
||||
* @param string $opt The permission name to lookup. If prefixed with !, the result is negated.
|
||||
* @param bool $clean set to true if only values needs to be returned which are set/unset
|
||||
*
|
||||
* @return array Contains the forum ids with the specified permision set to true.
|
||||
* @return array Contains the forum ids with the specified permission set to true.
|
||||
This is a nested array: array => forum_id => permission => true
|
||||
*/
|
||||
function acl_getf($opt, $clean = false)
|
||||
{
|
||||
|
@ -1064,10 +1064,10 @@ class session
|
||||
* Checks whether the supplied user is banned by id, ip or email. If no parameters
|
||||
* are passed to the method pre-existing session data is used.
|
||||
*
|
||||
* @param int|false $user_id The user id
|
||||
* @param string|array|false $user_ips Can contain a string with one IP or an array of multiple IPs
|
||||
* @param string|false $user_email The user email
|
||||
* @param bool $return If $return is false this routine does not return on finding a banned user,
|
||||
* @param int|false $user_id The user id
|
||||
* @param mixed $user_ips Can contain a string with one IP or an array of multiple IPs
|
||||
* @param string|false $user_email The user email
|
||||
* @param bool $return If $return is false this routine does not return on finding a banned user,
|
||||
* it outputs a relevant message and stops execution.
|
||||
*/
|
||||
function check_ban($user_id = false, $user_ips = false, $user_email = false, $return = false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user