r77187 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77186‎ | r77187 | r77188 >
Date:21:43, 23 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Explicit variable definition, tweak documentation
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryUsers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryUsers.php
@@ -36,7 +36,7 @@
3737 */
3838 class ApiQueryUsers extends ApiQueryBase {
3939
40 - private $tokenFunctions;
 40+ private $tokenFunctions, $prop;
4141
4242 public function __construct( $query, $moduleName ) {
4343 parent::__construct( $query, $moduleName, 'us' );
@@ -46,7 +46,7 @@
4747 * Get an array mapping token names to their handler functions.
4848 * The prototype for a token function is func($user)
4949 * it should return a token or false (permission denied)
50 - * @return array(tokenname => function)
 50+ * @return Array tokenname => function
5151 */
5252 protected function getTokenFunctions() {
5353 // Don't call the hooks twice

Status & tagging log