Index: trunk/phase3/includes/api/ApiQueryBase.php |
— | — | @@ -309,7 +309,7 @@ |
310 | 310 | /** |
311 | 311 | * Same as addPageSubItems(), but one element of $data at a time |
312 | 312 | * @param $pageId int Page ID |
313 | | - * @param $data array Data array à la ApiResult |
| 313 | + * @param $item array Data array à la ApiResult |
314 | 314 | * @param $elemname string XML element name. If null, getModuleName() |
315 | 315 | * is used |
316 | 316 | * @return bool Whether the element fit in the result |
Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -108,9 +108,9 @@ |
109 | 109 | /** |
110 | 110 | * We have our own delete() function, since Article.php's implementation is split in two phases |
111 | 111 | * |
112 | | - * @param Article $article - Article object to work on |
113 | | - * @param string $token - Delete token (same as edit token) |
114 | | - * @param string $reason - Reason for the deletion. Autogenerated if NULL |
| 112 | + * @param $article Article object to work on |
| 113 | + * @param $token String: delete token (same as edit token) |
| 114 | + * @param $reason String: reason for the deletion. Autogenerated if NULL |
115 | 115 | * @return Title::getUserPermissionsErrors()-like array |
116 | 116 | */ |
117 | 117 | public static function delete( &$article, $token, &$reason = null ) { |
Index: trunk/phase3/includes/api/ApiResult.php |
— | — | @@ -165,6 +165,7 @@ |
166 | 166 | * Adds a content element to an array. |
167 | 167 | * Use this function instead of hardcoding the '*' element. |
168 | 168 | * @param $arr array to add the content element to |
| 169 | + * @param $value Mixed |
169 | 170 | * @param $subElemName string when present, content element is created |
170 | 171 | * as a sub item of $arr. Use this parameter to create elements in |
171 | 172 | * format <elem>text</elem> without attributes |