1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 15:16:16 +02:00

[ticket/11525] Fix doc blocks

PHPBB3-11525
This commit is contained in:
Joas Schilling 2013-11-10 22:19:06 +01:00
parent 9d4d212e0f
commit 47f2caff6b

View File

@ -180,8 +180,8 @@ class manager
/**
* Strip out user_, group_, or other prefixes from array keys
*
* @param array $row User data or group data
* @param string $prefix Prefix of data keys
* @param array $row User data or group data
* @param string $prefix Prefix of data keys (e.g. user), should not include the trailing underscore
*
* @return array User data or group data with keys that have been
* stripped from the preceding "user_" or "group_"
@ -205,8 +205,11 @@ class manager
/**
* Strip prepending user_ or group_ prefix from key
*
* @param string Array key
* @return void
* @param string $key Array key
* @param string $null Parameter is ignored by the function, just required by the array_walk
* @param string $prefix Prefix that should be stripped off from the keys (e.g. user)
* Should not include the trailing underscore
* @return null
*/
static protected function strip_prefix(&$key, $null, $prefix)
{