1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16754] Fix docblocks

PHPBB3-16754
This commit is contained in:
Máté Bartus
2021-04-10 10:22:54 +02:00
parent 1482efc927
commit 6eb357b421
16 changed files with 31 additions and 22 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

@@ -96,7 +96,7 @@ class fulltext_postgres extends \phpbb\search\base
* @param string $phpEx PHP file extension
* @param \phpbb\auth\auth $auth Auth object
* @param \phpbb\config\config $config Config object
* @param \phpbb\db\driver\driver_interface Database object
* @param \phpbb\db\driver\driver_interface $db Database object
* @param \phpbb\user $user User object
* @param \phpbb\event\dispatcher_interface $phpbb_dispatcher Event dispatcher object
*/

View File

@@ -129,7 +129,7 @@ class fulltext_sphinx
* @param string $phpEx PHP file extension
* @param \phpbb\auth\auth $auth Auth object
* @param \phpbb\config\config $config Config object
* @param \phpbb\db\driver\driver_interface Database object
* @param \phpbb\db\driver\driver_interface $db Database object
* @param \phpbb\user $user User object
* @param \phpbb\event\dispatcher_interface $phpbb_dispatcher Event dispatcher object
*/

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

@@ -181,7 +181,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 string
*/
public function get_avatar($user_id, $query = false, $lazy = false)

View File

@@ -133,7 +133,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
*/