From: Sam Reed Date: Tue, 23 Nov 2010 21:43:56 +0000 (+0000) Subject: Explicit variable definition, tweak documentation X-Git-Tag: 1.31.0-rc.0~33754 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=38f9c25b27b6b8b4ab51c301e0955f7a3bdd28f1;p=lhc%2Fweb%2Fwiklou.git Explicit variable definition, tweak documentation --- diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index 219d86ab0d..69bd9fd3dd 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -36,7 +36,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { */ class ApiQueryUsers extends ApiQueryBase { - private $tokenFunctions; + private $tokenFunctions, $prop; public function __construct( $query, $moduleName ) { parent::__construct( $query, $moduleName, 'us' ); @@ -46,7 +46,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { * Get an array mapping token names to their handler functions. * The prototype for a token function is func($user) * it should return a token or false (permission denied) - * @return array(tokenname => function) + * @return Array tokenname => function */ protected function getTokenFunctions() { // Don't call the hooks twice