r61385 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61384‎ | r61385 | r61386 >
Date:19:58, 22 January 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings
Modified paths:
  • /trunk/phase3/includes/PatrolLog.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/PatrolLog.php
@@ -11,8 +11,8 @@
1212 /**
1313 * Record a log event for a change being patrolled
1414 *
15 - * @param mixed $change Change identifier or RecentChange object
16 - * @param bool $auto Was this patrol event automatic?
 15+ * @param $rc Mixed: change identifier or RecentChange object
 16+ * @param $auto Boolean: was this patrol event automatic?
1717 */
1818 public static function record( $rc, $auto = false ) {
1919 if( !( $rc instanceof RecentChange ) ) {
@@ -33,10 +33,10 @@
3434 /**
3535 * Generate the log action text corresponding to a patrol log item
3636 *
37 - * @param Title $title Title of the page that was patrolled
38 - * @param array $params Log parameters (from logging.log_params)
39 - * @param Skin $skin Skin to use for building links, etc.
40 - * @return string
 37+ * @param $title Title of the page that was patrolled
 38+ * @param $params Array: log parameters (from logging.log_params)
 39+ * @param $skin Skin to use for building links, etc.
 40+ * @return String
4141 */
4242 public static function makeActionText( $title, $params, $skin ) {
4343 list( $cur, /* $prev */, $auto ) = $params;
@@ -74,9 +74,9 @@
7575 /**
7676 * Prepare log parameters for a patrolled change
7777 *
78 - * @param RecentChange $change RecentChange to represent
79 - * @param bool $auto Whether the patrol event was automatic
80 - * @return array
 78+ * @param $change RecentChange to represent
 79+ * @param $auto Boolean: whether the patrol event was automatic
 80+ * @return Array
8181 */
8282 private static function buildParams( $change, $auto ) {
8383 return array(

Status & tagging log