Index: trunk/phase3/includes/User.php |
— | — | @@ -393,7 +393,7 @@ |
394 | 394 | * If the code is invalid or has expired, returns NULL. |
395 | 395 | * |
396 | 396 | * @param $code String Confirmation code |
397 | | - * @return User |
| 397 | + * @return User object, or null |
398 | 398 | */ |
399 | 399 | public static function newFromConfirmationCode( $code ) { |
400 | 400 | $dbr = wfGetDB( DB_SLAVE ); |
— | — | @@ -414,7 +414,7 @@ |
415 | 415 | * |
416 | 416 | * @param $request WebRequest object to use; $wgRequest will be used if |
417 | 417 | * ommited. |
418 | | - * @return User |
| 418 | + * @return User object |
419 | 419 | */ |
420 | 420 | public static function newFromSession( WebRequest $request = null ) { |
421 | 421 | $user = new User; |