aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-10 16:44:24 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-07-14 12:02:46 -0400
commit4b7b7e895b4a0949d19a7524bedddfa969a33ee7 (patch)
tree87ca0054a83cd5c5b72d7767279f75daa7bcd983
parentaaa44eda2b1df7d7c5c02651c1a9536343eca846 (diff)
downloadforums-4b7b7e895b4a0949d19a7524bedddfa969a33ee7.tar
forums-4b7b7e895b4a0949d19a7524bedddfa969a33ee7.tar.gz
forums-4b7b7e895b4a0949d19a7524bedddfa969a33ee7.tar.bz2
forums-4b7b7e895b4a0949d19a7524bedddfa969a33ee7.tar.xz
forums-4b7b7e895b4a0949d19a7524bedddfa969a33ee7.zip
[ticket/11582] Fix missing @params in the doc blocks
PHPBB3-11582
-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)