r96367 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96366‎ | r96367 | r96368 >
Date:20:31, 6 September 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
doc fix
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)
  • /trunk/phase3/includes/api/ApiResult.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiResult.php
@@ -259,6 +259,7 @@
260260 */
261261 public function addValue( $path, $name, $value, $overwrite = false ) {
262262 global $wgAPIMaxResultSize;
 263+
263264 $data = &$this->mData;
264265 if ( $this->mCheckingSize ) {
265266 $newsize = $this->mSize + self::size( $value );
Index: trunk/phase3/includes/api/ApiBase.php
@@ -1282,7 +1282,7 @@
12831283
12841284 /**
12851285 * Returns the token salt if there is one, '' if the module doesn't require a salt, else false if the module doesn't need a token
1286 - * @return bool
 1286+ * @return bool|string
12871287 */
12881288 public function getTokenSalt() {
12891289 return false;

Status & tagging log