diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-01 15:32:05 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-01 15:32:05 +0200 |
commit | 253d4b48ec708eb42033862dc15c8576f44a48ed (patch) | |
tree | d8673e304f0deaacb7a20a31cba7b82744a00bed /lib/plugins/auth.php | |
parent | 42ea7f447f39fbc2f79eaaec31f8c10ede59c5d0 (diff) | |
download | rpg-253d4b48ec708eb42033862dc15c8576f44a48ed.tar.gz rpg-253d4b48ec708eb42033862dc15c8576f44a48ed.tar.bz2 |
more PHPDocs, unused var, small bit code reformatting
Diffstat (limited to 'lib/plugins/auth.php')
-rw-r--r-- | lib/plugins/auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php index 0d6ea2fa3..021bc5d4b 100644 --- a/lib/plugins/auth.php +++ b/lib/plugins/auth.php @@ -116,7 +116,7 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin { * @author Gabriel Birke <birke@d-scribe.de> * @param string $type Modification type ('create', 'modify', 'delete') * @param array $params Parameters for the createUser, modifyUser or deleteUsers method. The content of this array depends on the modification type - * @return mixed Result from the modification function or false if an event handler has canceled the action + * @return bool|null|int Result from the modification function or false if an event handler has canceled the action */ public function triggerUserMod($type, $params) { $validTypes = array( @@ -238,7 +238,7 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin { * @author Andreas Gohr <andi@splitbrain.org> * @param string $user the user name * @param bool $requireGroups whether or not the returned data must include groups - * @return array containing user data or false + * @return false|array containing user data or false */ public function getUserData($user, $requireGroups=true) { if(!$this->cando['external']) msg("no valid authorisation system in use", -1); |