Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -279,15 +279,15 @@ |
280 | 280 | * Convert wikitext to HTML |
281 | 281 | * Do not call this function recursively. |
282 | 282 | * |
283 | | - * @param string $text Text we want to parse |
284 | | - * @param Title &$title A title object |
285 | | - * @param array $options |
286 | | - * @param boolean $linestart |
287 | | - * @param boolean $clearState |
288 | | - * @param int $revid number to pass in {{REVISIONID}} |
| 283 | + * @param $text String: text we want to parse |
| 284 | + * @param $title A title object |
| 285 | + * @param $options ParserOptions |
| 286 | + * @param $linestart boolean |
| 287 | + * @param $clearState boolean |
| 288 | + * @param $revid Int: number to pass in {{REVISIONID}} |
289 | 289 | * @return ParserOutput a ParserOutput |
290 | 290 | */ |
291 | | - public function parse( $text, &$title, $options, $linestart = true, $clearState = true, $revid = null ) { |
| 291 | + public function parse( $text, Title $title, ParserOptions $options, $linestart = true, $clearState = true, $revid = null ) { |
292 | 292 | /** |
293 | 293 | * First pass--just handle <nowiki> sections, pass the rest off |
294 | 294 | * to internalParse() which does all the real work. |