Index: trunk/phase3/includes/PatrolLog.php |
— | — | @@ -11,8 +11,8 @@ |
12 | 12 | /** |
13 | 13 | * Record a log event for a change being patrolled |
14 | 14 | * |
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? |
17 | 17 | */ |
18 | 18 | public static function record( $rc, $auto = false ) { |
19 | 19 | if( !( $rc instanceof RecentChange ) ) { |
— | — | @@ -33,10 +33,10 @@ |
34 | 34 | /** |
35 | 35 | * Generate the log action text corresponding to a patrol log item |
36 | 36 | * |
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 |
41 | 41 | */ |
42 | 42 | public static function makeActionText( $title, $params, $skin ) { |
43 | 43 | list( $cur, /* $prev */, $auto ) = $params; |
— | — | @@ -74,9 +74,9 @@ |
75 | 75 | /** |
76 | 76 | * Prepare log parameters for a patrolled change |
77 | 77 | * |
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 |
81 | 81 | */ |
82 | 82 | private static function buildParams( $change, $auto ) { |
83 | 83 | return array( |