summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-05-20 23:25:28 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-05-20 23:25:28 +0200
commitb4b6c9a156df8ab4655a518790afb625ea927adb (patch)
tree4c890be0236c061b6b918aa9df8c890c9b841d9e /inc/common.php
parentf168548c334622dbfa567a8f7bb998271195656e (diff)
downloadrpg-b4b6c9a156df8ab4655a518790afb625ea927adb.tar.gz
rpg-b4b6c9a156df8ab4655a518790afb625ea927adb.tar.bz2
Phpdocs
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/common.php b/inc/common.php
index cd180e29e..0fe33c5b1 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1585,7 +1585,7 @@ function shorten($keep, $short, $max, $min = 9, $char = '…') {
* Return the users realname or e-mail address for use
* in page footer and recent changes pages
*
- * @param string|bool $username or false when currently logged-in user should be used
+ * @param string|null $username or null when currently logged-in user should be used
* @param bool $textonly true returns only plain text, true allows returning html
* @return string html or plain text(not escaped) of formatted user name
*
@@ -1858,7 +1858,7 @@ function valid_input_set($param, $valid_values, $array, $exc = '') {
* (remembering both keys & values are urlencoded)
*
* @param string $pref preference key
- * @param string $default value returned when preference not found
+ * @param mixed $default value returned when preference not found
* @return string preference value
*/
function get_doku_pref($pref, $default) {