aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/avatar
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-10 22:19:06 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-10 22:20:15 +0100
commit47f2caff6b3f05f6703e359bf4712bd69d23c04c (patch)
treee7a50519ef15591eb955be122cbbd968a11be492 /phpBB/phpbb/avatar
parent9d4d212e0f71789e1f0332046dd852d80ab9c8ba (diff)
downloadforums-47f2caff6b3f05f6703e359bf4712bd69d23c04c.tar
forums-47f2caff6b3f05f6703e359bf4712bd69d23c04c.tar.gz
forums-47f2caff6b3f05f6703e359bf4712bd69d23c04c.tar.bz2
forums-47f2caff6b3f05f6703e359bf4712bd69d23c04c.tar.xz
forums-47f2caff6b3f05f6703e359bf4712bd69d23c04c.zip
[ticket/11525] Fix doc blocks
PHPBB3-11525
Diffstat (limited to 'phpBB/phpbb/avatar')
-rw-r--r--phpBB/phpbb/avatar/manager.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/phpBB/phpbb/avatar/manager.php b/phpBB/phpbb/avatar/manager.php
index f2bb1a5dbe..90cd83898f 100644
--- a/phpBB/phpbb/avatar/manager.php
+++ b/phpBB/phpbb/avatar/manager.php
@@ -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)
{