Index: trunk/phase3/includes/User.php |
— | — | @@ -301,7 +301,7 @@ |
302 | 302 | * User::getCanonicalName(), except that true is accepted as an alias |
303 | 303 | * for 'valid', for BC. |
304 | 304 | * |
305 | | - * @return \type{User} The User object, or false if the username is invalid |
| 305 | + * @return User The User object, or false if the username is invalid |
306 | 306 | * (e.g. if it contains illegal characters or is an IP address). If the |
307 | 307 | * username is not present in the database, the result will be a user object |
308 | 308 | * with a name, zero user ID and default settings. |
Index: trunk/extensions/CodeReview/backend/CodeRepository.php |
— | — | @@ -355,9 +355,9 @@ |
356 | 356 | |
357 | 357 | /* |
358 | 358 | * Link the $author to the wikiuser $user |
359 | | - * @param string $author |
360 | | - * @param User $user |
361 | | - * @return bool success |
| 359 | + * @param $author String |
| 360 | + * @param $user User |
| 361 | + * @return bool Success |
362 | 362 | */ |
363 | 363 | public function linkUser( $author, User $user ) { |
364 | 364 | // We must link to an existing user |