r77389 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77388‎ | r77389 | r77390 >
Date:15:40, 28 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Tweak some documentation
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRepository.php (modified) (history)
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -301,7 +301,7 @@
302302 * User::getCanonicalName(), except that true is accepted as an alias
303303 * for 'valid', for BC.
304304 *
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
306306 * (e.g. if it contains illegal characters or is an IP address). If the
307307 * username is not present in the database, the result will be a user object
308308 * with a name, zero user ID and default settings.
Index: trunk/extensions/CodeReview/backend/CodeRepository.php
@@ -355,9 +355,9 @@
356356
357357 /*
358358 * 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
362362 */
363363 public function linkUser( $author, User $user ) {
364364 // We must link to an existing user

Status & tagging log