From: Alexandre Emsenhuber Date: Sat, 16 Oct 2010 18:58:29 +0000 (+0000) Subject: Per Platonides, follow-up to r67834: fix doc and removed no more needed return-by... X-Git-Tag: 1.31.0-rc.0~34475 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=f5f01d7d23b6a7a5a352dba7a008527fbdb86841;p=lhc%2Fweb%2Fwiklou.git Per Platonides, follow-up to r67834: fix doc and removed no more needed return-by-ref of Parser::getTitle() --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index fe6dbfb5a4..b6d755f6ba 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -538,7 +538,7 @@ class Parser { * * @return Title object */ - function &getTitle() { + function getTitle() { return $this->mTitle; } @@ -647,7 +647,7 @@ class Parser { * * @param $elements list of element names. Comments are always extracted. * @param $text Source text string. - * @param $matches Out parameter, Array: extarcted tags + * @param $matches Out parameter, Array: extracted tags * @param $uniq_prefix * @return String: stripped text * @@ -4034,7 +4034,7 @@ class Parser { * conversion, substitting signatures, {{subst:}} templates, etc. * * @param $text String: the text to transform - * @param &$title Title: the Title object for the current article + * @param $title Title: the Title object for the current article * @param $user User: the User object describing the current user * @param $options ParserOptions: parsing options * @param $clearState Boolean: whether to clear the parser state first