From f5f01d7d23b6a7a5a352dba7a008527fbdb86841 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 16 Oct 2010 18:58:29 +0000 Subject: [PATCH] Per Platonides, follow-up to r67834: fix doc and removed no more needed return-by-ref of Parser::getTitle() --- includes/parser/Parser.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.20.1