1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-15 05:04:09 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2021-04-10 23:05:58 +02:00
17 changed files with 31 additions and 23 deletions

View File

@@ -42,7 +42,7 @@ interface guesser_interface
/**
* Set the guesser priority
*
* @param int Guesser priority
* @param int $priority Guesser priority
*
* @return void
*/

View File

@@ -56,7 +56,7 @@ class file_info
/**
* Load propertys lazily
*
* @param string name The property name.
* @param string $name The property name.
*
* @return string Returns the property value
*/

View File

@@ -99,8 +99,8 @@ class storage
/**
* Dumps content into a file
*
* @param string path The file to be written to.
* @param string content The data to write into the file.
* @param string $path The file to be written to.
* @param string $content The data to write into the file.
*
* @throws exception When the file already exists
* When the file cannot be written

View File

@@ -54,7 +54,7 @@ interface template
* Note: Templates are still compiled to phpBB's cache directory.
*
* @param string|array $names Array of names or string of name of template(s) in inheritance tree order, used by extensions.
* @param string|array or string $paths Array of style paths, relative to current root directory
* @param string|array $paths Array of style paths, relative to current root directory
* @return \phpbb\template\template $this
*/
public function set_custom_style($names, $paths);

View File

@@ -224,7 +224,7 @@ class twig extends \phpbb\template\base
* 'name' => 'adm',
* 'ext_path' => 'adm/style/',
* )
* @param string|array of string $paths Array of style paths, relative to current root directory
* @param string|array $paths Array of style paths, relative to current root directory
* @return \phpbb\template\template $this
*/
public function set_custom_style($names, $paths)

View File

@@ -186,7 +186,7 @@ class user_loader
* @param bool $query Should we query the database if this user has not yet been loaded?
* Typically this should be left as false and you should make sure
* you load users ahead of time with load_users()
* @param bool @lazy If true, will be lazy loaded (requires JS)
* @param bool $lazy If true, will be lazy loaded (requires JS)
* @return array
*/
public function get_avatar($user_id, $query = false, $lazy = false)

View File

@@ -134,7 +134,7 @@ class version_helper
/**
* Over-ride the stability to force check to include unstable versions
*
* @param null|string Null to not force stability, 'unstable' or 'stable' to
* @param null|string $stability Null to not force stability, 'unstable' or 'stable' to
* force the corresponding stability
* @return version_helper
*/