Index: trunk/phase3/includes/api/ApiResult.php |
— | — | @@ -259,6 +259,7 @@ |
260 | 260 | */ |
261 | 261 | public function addValue( $path, $name, $value, $overwrite = false ) { |
262 | 262 | global $wgAPIMaxResultSize; |
| 263 | + |
263 | 264 | $data = &$this->mData; |
264 | 265 | if ( $this->mCheckingSize ) { |
265 | 266 | $newsize = $this->mSize + self::size( $value ); |
Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -1282,7 +1282,7 @@ |
1283 | 1283 | |
1284 | 1284 | /** |
1285 | 1285 | * 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 |
1287 | 1287 | */ |
1288 | 1288 | public function getTokenSalt() { |
1289 | 1289 | return false; |