aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/permissions.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/includes/permissions.php b/phpBB/includes/permissions.php
index 1db6843dbb..66360424ea 100644
--- a/phpBB/includes/permissions.php
+++ b/phpBB/includes/permissions.php
@@ -86,7 +86,8 @@ class phpbb_permissions
/**
* 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)
{
@@ -106,6 +107,8 @@ class phpbb_permissions
/**
* 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
*/
public function get_type_lang($type, $scope = false)
@@ -151,7 +154,8 @@ class phpbb_permissions
/**
* 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)
{
@@ -161,6 +165,7 @@ class phpbb_permissions
/**
* Returns the language string of a permission
*
+ * @param string $permission Identifier of the permission
* @return string Language string
*/
public function get_permission_lang($permission)