From 38f9c25b27b6b8b4ab51c301e0955f7a3bdd28f1 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 23 Nov 2010 21:43:56 +0000 Subject: [PATCH] Explicit variable definition, tweak documentation --- includes/api/ApiQueryUsers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1