diff options
author | n-aleha <nick_aleha@myway.com> | 2014-05-19 03:07:32 +0300 |
---|---|---|
committer | n-aleha <nick_aleha@myway.com> | 2014-08-03 07:03:08 +0300 |
commit | ffcf45abf32fc1343fe1d4edfd15828782ab4832 (patch) | |
tree | ecefe9bfef284ef9da23e519658c9acfabde8a15 /phpBB/phpbb/db/migration/tool/permission.php | |
parent | 8ac8c9ec616d8a53cdf02459ae08b2b44e7fd4cb (diff) | |
download | forums-ffcf45abf32fc1343fe1d4edfd15828782ab4832.tar forums-ffcf45abf32fc1343fe1d4edfd15828782ab4832.tar.gz forums-ffcf45abf32fc1343fe1d4edfd15828782ab4832.tar.bz2 forums-ffcf45abf32fc1343fe1d4edfd15828782ab4832.tar.xz forums-ffcf45abf32fc1343fe1d4edfd15828782ab4832.zip |
[ticket/12557] Fix doc block errors found by Sami pt1
PHPBB3-12557
Diffstat (limited to 'phpBB/phpbb/db/migration/tool/permission.php')
-rw-r--r-- | phpBB/phpbb/db/migration/tool/permission.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/tool/permission.php b/phpBB/phpbb/db/migration/tool/permission.php index d2df27613a..5cfbc5ca00 100644 --- a/phpBB/phpbb/db/migration/tool/permission.php +++ b/phpBB/phpbb/db/migration/tool/permission.php @@ -105,6 +105,7 @@ class permission implements \phpbb\db\migration\tool\tool_interface * @param string $auth_option The name of the permission (auth) option * @param bool $global True for checking a global permission setting, * False for a local permission setting + * @param int|false $copy_from If set, contains the id of the permission from which to copy the new one. * @return null */ public function add($auth_option, $global = true, $copy_from = false) @@ -243,7 +244,9 @@ class permission implements \phpbb\db\migration\tool\tool_interface * Add a new permission role * * @param string $role_name The new role name - * @param sting $role_type The type (u_, m_, a_) + * @param string $role_type The type (u_, m_, a_) + * @param string $role_description Description of the new role + * * @return null */ public function role_add($role_name, $role_type, $role_description = '') |