mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 14:28:56 +00:00
[ticket/11582] Fix missing @params in the doc blocks
PHPBB3-11582
This commit is contained in:
parent
aaa44eda2b
commit
4b7b7e895b
1 changed files with 7 additions and 2 deletions
|
@ -86,7 +86,8 @@ class phpbb_permissions
|
||||||
/**
|
/**
|
||||||
* Returns the language string of a permission category
|
* Returns the language string of a permission category
|
||||||
*
|
*
|
||||||
* @return string Language string
|
* @param string $category Identifier of the category
|
||||||
|
* @return string Language string
|
||||||
*/
|
*/
|
||||||
public function get_category_lang($category)
|
public function get_category_lang($category)
|
||||||
{
|
{
|
||||||
|
@ -106,6 +107,8 @@ class phpbb_permissions
|
||||||
/**
|
/**
|
||||||
* Returns the language string of a permission type
|
* Returns the language string of a permission type
|
||||||
*
|
*
|
||||||
|
* @param string $type Identifier of the type
|
||||||
|
* @param mixed $scope Scope of the type (should be 'global', 'local' or false)
|
||||||
* @return string Language string
|
* @return string Language string
|
||||||
*/
|
*/
|
||||||
public function get_type_lang($type, $scope = false)
|
public function get_type_lang($type, $scope = false)
|
||||||
|
@ -151,7 +154,8 @@ class phpbb_permissions
|
||||||
/**
|
/**
|
||||||
* Returns the category of a permission
|
* Returns the category of a permission
|
||||||
*
|
*
|
||||||
* @return string
|
* @param string $permission Identifier of the permission
|
||||||
|
* @return string Returns the category identifier of the permission
|
||||||
*/
|
*/
|
||||||
public function get_permission_category($permission)
|
public function get_permission_category($permission)
|
||||||
{
|
{
|
||||||
|
@ -161,6 +165,7 @@ class phpbb_permissions
|
||||||
/**
|
/**
|
||||||
* Returns the language string of a permission
|
* Returns the language string of a permission
|
||||||
*
|
*
|
||||||
|
* @param string $permission Identifier of the permission
|
||||||
* @return string Language string
|
* @return string Language string
|
||||||
*/
|
*/
|
||||||
public function get_permission_lang($permission)
|
public function get_permission_lang($permission)
|
||||||
|
|
Loading…
Add table
Reference in a new issue